Berserk
Classes | Namespaces | Typedefs | Functions
TVecN.hpp File Reference
#include <core/Config.hpp>
#include <core/Crc32.hpp>
#include <core/Memory.hpp>
#include <core/Typedefs.hpp>
#include <core/math/MathUtils.hpp>
#include <initializer_list>
#include <ostream>
Include dependency graph for TVecN.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TVecN< T, N >
 Generic vector class for an N dimensional space base on type T. More...
 
struct  std::hash< BRK_NS::TVecN< T, N > >
 

Namespaces

 std
 

Typedefs

using Vec2f = TVecN< float, 2 >
 
using Vec3f = TVecN< float, 3 >
 
using Vec4f = TVecN< float, 4 >
 
using Vec2i = TVecN< int32, 2 >
 
using Vec3i = TVecN< int32, 3 >
 
using Vec4i = TVecN< int32, 4 >
 
using Vec2u = TVecN< uint32, 2 >
 
using Vec3u = TVecN< uint32, 3 >
 
using Vec4u = TVecN< uint32, 4 >
 
using Vec2b = TVecN< bool, 2 >
 
using Vec3b = TVecN< bool, 3 >
 
using Vec4b = TVecN< bool, 4 >
 
using Point2i = TVecN< int32, 2 >
 
using Point2f = TVecN< float, 2 >
 
using Size2i = TVecN< int32, 2 >
 
using Size2f = TVecN< float, 2 >
 
using Size2u = TVecN< uint32, 2 >
 
using Rect2i = TVecN< int32, 4 >
 
using Rect2u = TVecN< uint32, 4 >
 

Functions

template<typename T , BRK_NS::uint32 N>
std::ostream & operator<< (std::ostream &ostream, const BRK_NS::TVecN< T, N > &vec)
 

Function Documentation

◆ operator<<()

template<typename T , BRK_NS::uint32 N>
std::ostream& operator<< ( std::ostream &  ostream,
const BRK_NS::TVecN< T, N > &  vec 
)
inline