Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Namespaces | Typedefs | Functions
vec2i.hpp File Reference
#include <cmath>
#include <cstdarg>
#include <cstdint>
#include <cassert>
#include <limits>
#include <string>
#include <iostream>
#include <jau/float_math.hpp>
Include dependency graph for vec2i.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  jau::math::Vector2I< Value_type, >
 2D vector using two integer components. More...
 

Namespaces

namespace  jau
 __pack(...): Produces MSVC, clang and gcc compatible lead-in and -out macros.
 
namespace  jau::math
 

Typedefs

typedef Vector2I< int > jau::math::Vec2i
 

Functions

template<typename T , std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true>
constexpr Vector2I< T > jau::math::operator* (const float s, const Vector2I< T > &rhs) noexcept
 
template<typename T , std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true>
constexpr Vector2I< T > jau::math::operator* (const Vector2I< T > &lhs, const float s) noexcept
 
template<typename T , std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true>
constexpr Vector2I< T > jau::math::operator+ (const Vector2I< T > &lhs, const Vector2I< T > &rhs) noexcept
 
template<typename T , std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true>
constexpr Vector2I< T > jau::math::operator- (const Vector2I< T > &lhs, const Vector2I< T > &rhs) noexcept
 
template<typename T , std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true>
constexpr Vector2I< T > jau::math::operator/ (const Vector2I< T > &lhs, const float s) noexcept
 
template<typename T , std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true>
std::ostream & jau::math::operator<< (std::ostream &out, const Vector2I< T > &v) noexcept