nngn
Loading...
Searching...
No Matches
vec3.h File Reference
#include <cstdint>
#include "vec.h"
#include "vec2.h"
Include dependency graph for vec3.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nngn::vec3_base< T >
 
struct  nngn::vec_type< T, 3 >
 

Namespaces

namespace  nngn
 

Macros

#define S(v0, v1)    constexpr vec2_base<T> v0 ## v1() const { return {this->v0, this->v1}; }
 
#define S(v0, v1, v2)
 

Typedefs

using nngn::ivec3 = vec3_base<std::int32_t>
 
using nngn::uvec3 = vec3_base<std::uint32_t>
 
using nngn::zvec3 = vec3_base<std::size_t>
 
using nngn::vec3 = vec3_base<float>
 
using nngn::dvec3 = vec3_base<double>
 

Macro Definition Documentation

◆ S [1/2]

#define S ( v0,
v1 )    constexpr vec2_base<T> v0 ## v1() const { return {this->v0, this->v1}; }

◆ S [2/2]

#define S ( v0,
v1,
v2 )
Value:
constexpr vec3_base<T> v0 ## v1 ## v2() const \
{ return {this->v0, this->v1, this->v2}; }
local class const
Definition animation.lua:7