Kale
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
Vector.hpp File Reference
#include <Kale/Math/Utils/Utils.hpp>
#include <cmath>
#include <algorithm>
#include <ostream>
#include <type_traits>
#include <limits>
#include <nlohmann/json.hpp>

Go to the source code of this file.

Classes

class  Kale::Vector2< T >
 
class  Kale::Vector3< T >
 
class  Kale::Vector4< T >
 

Namespaces

namespace  Kale
 

Typedefs

typedef Vector2< char > Kale::Vector2c
 
typedef Vector2< unsigned char > Kale::Vector2uc
 
typedef Vector2< int > Kale::Vector2i
 
typedef Vector2< unsigned int > Kale::Vector2ui
 
typedef Vector2< short > Kale::Vector2s
 
typedef Vector2< unsigned short > Kale::Vector2us
 
typedef Vector2< long > Kale::Vector2l
 
typedef Vector2< unsigned long > Kale::Vector2ul
 
typedef Vector2< long long > Kale::Vector2ll
 
typedef Vector2< unsigned long long > Kale::Vector2ull
 
typedef Vector2< size_t > Kale::Vector2st
 
typedef Vector2< uint32_t > Kale::Vector2ui32
 
typedef Vector2< float > Kale::Vector2f
 
typedef Vector2< double > Kale::Vector2d
 
typedef Vector3< char > Kale::Vector3c
 
typedef Vector3< unsigned char > Kale::Vector3uc
 
typedef Vector3< int > Kale::Vector3i
 
typedef Vector3< unsigned int > Kale::Vector3ui
 
typedef Vector3< short > Kale::Vector3s
 
typedef Vector3< unsigned short > Kale::Vector3us
 
typedef Vector3< long > Kale::Vector3l
 
typedef Vector3< unsigned long > Kale::Vector3ul
 
typedef Vector3< long long > Kale::Vector3ll
 
typedef Vector3< unsigned long long > Kale::Vector3ull
 
typedef Vector3< size_t > Kale::Vector3st
 
typedef Vector3< uint32_t > Kale::Vector3ui32
 
typedef Vector3< float > Kale::Vector3f
 
typedef Vector3< double > Kale::Vector3d
 
typedef Vector4< char > Kale::Vector4c
 
typedef Vector4< unsigned char > Kale::Vector4uc
 
typedef Vector4< int > Kale::Vector4i
 
typedef Vector4< unsigned int > Kale::Vector4ui
 
typedef Vector4< short > Kale::Vector4s
 
typedef Vector4< unsigned short > Kale::Vector4us
 
typedef Vector4< long > Kale::Vector4l
 
typedef Vector4< unsigned long > Kale::Vector4ul
 
typedef Vector4< long long > Kale::Vector4ll
 
typedef Vector4< unsigned long long > Kale::Vector4ull
 
typedef Vector4< size_t > Kale::Vector4st
 
typedef Vector4< uint32_t > Kale::Vector4ui32
 
typedef Vector4< float > Kale::Vector4f
 
typedef Vector4< double > Kale::Vector4d
 
typedef Vector4f Kale::Color
 

Functions

template<typename T >
std::ostream & Kale::operator<< (std::ostream &os, const Kale::Vector2< T > &vec)
 
template<typename T >
std::ostream & Kale::operator<< (std::ostream &os, const Kale::Vector3< T > &vec)
 
template<typename T >
std::ostream & Kale::operator<< (std::ostream &os, const Kale::Vector4< T > &vec)
 
template<typename T >
void Kale::from_json (const JSON &j, Vector2< T > &p)
 
template<typename T >
void Kale::to_json (JSON &j, const Vector2< T > &p)
 
template<typename T >
void Kale::from_json (const JSON &j, Vector3< T > &p)
 
template<typename T >
void Kale::to_json (JSON &j, const Vector3< T > &p)
 
template<typename T >
void Kale::from_json (const JSON &j, Vector4< T > &p)
 
template<typename T >
void Kale::to_json (JSON &j, const Vector4< T > &p)