alternative Standard Libary  0.29.8
vector2.hpp-Dateireferenz
#include <math.h>
#include "../algorithm.hpp"
#include "../common.hpp"
#include "../unknown.hpp"
#include "../string.hpp"
+ Include-Abhängigkeitsdiagramm für vector2.hpp:

gehe zum Quellcode dieser Datei

Klassen

class  std::math::vector2< T >
 
class  std::math::vector2< T >
 

Namensbereiche

 std
 
 std::math
 

Typdefinitionen

using std::math::vec2f = vector2< float >
 
using std::math::vec2d = vector2< double >
 

Funktionen

template<typename T >
vector2< T > std::math::operator+ (const vector2< T > &a, const vector2< T > &b)
 
template<typename T >
vector2< T > std::math::operator- (const vector2< T > &a, const vector2< T > &b)
 
template<typename T >
vector2< T > std::math::operator* (const vector2< T > &a, const vector2< T > &b)
 
template<typename T >
vector2< T > std::math::operator/ (const vector2< T > &a, const vector2< T > &b)
 
template<typename T >
vector2< T > std::math::operator+ (const float &f, const vector2< T > &b)
 
template<typename T >
vector2< T > std::math::operator- (const float &f, const vector2< T > &b)
 
template<typename T >
vector2< T > std::math::operator* (const float &f, const vector2< T > &b)
 
template<typename T >
vector2< T > std::math::operator/ (const float &f, const vector2< T > &b)
 
template<typename T >
vector2< T > std::math::operator- (const vector2< T > &a, const float &f)
 
template<typename T >
vector2< T > std::math::operator/ (const vector2< T > &a, const float &f)
 
template<typename T >
bool std::math::operator== (const vector2< T > &a, const vector2< T > &b)
 
template<typename T >
bool std::math::operator!= (const vector2< T > &a, const vector2< T > &b)
 
template<typename T >
bool std::math::operator<= (const vector2< T > &a, const vector2< T > &b)
 
template<typename T >
bool std::math::operator>= (const vector2< T > &a, const vector2< T > &b)
 
template<typename T >
bool std::math::operator< (const vector2< T > &a, const vector2< T > &b)
 
template<typename T >
bool std::math::operator> (const vector2< T > &a, const vector2< T > &b)
 
template<typename T >
std::math::lenght (const vector2< T > &v)
 
template<typename T >
std::math::lenghtSq (const vector2< T > &v)
 
template<typename T >
vector2< T > std::math::normalize (const vector2< T > &v)
 
template<typename T >
vector2< T > std::math::normalizeEx (const vector2< T > &v)
 
template<typename T >
std::math::dot (const vector2< T > &v1, const vector2< T > &v2)
 
template<typename T >
std::math::angle (const vector2< T > &v1, const vector2< T > &v2)
 
template<typename T >
vector2< T > std::math::interpolate_coords (const vector2< T > &v1, const vector2< T > &v2, const T p)
 
template<typename T >
vector2< T > std::math::interpolate_normal (const vector2< T > &v1, const vector2< T > &v2, const T p)
 
template<typename T >
bool std::math::nearEqual (const vector2< T > &v1, vector2< T > &v2, const vector2< T > &epsilon)
 
template<typename T >
vector2< T > std::math::_min (const vector2< T > &c1, const vector2< T > &c2)
 
template<typename T >
vector2< T > std::math::_max (const vector2< T > &c1, const vector2< T > &c2)
 
template<typename T >
vector2< T > std::math::scale (const vector2< T > &v, const float s)
 
template<typename T , typename E = char, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
std::basic_string< E, TAllocator, TStorage > std::vec2_string (const std::math::vector2< T > &v, flags_t f=flags_t::dec)
 
template<typename E = char, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
std::basic_string< E, TAllocator, TStorage > std::vec2_string (const std::math::vec2f &v, flags_t f=flags_t::dec)
 
template<typename E = char, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
std::basic_string< E, TAllocator, TStorage > std::vec2_string (const std::math::vec2d &v, flags_t f=flags_t::dec)