#include <cstdint>
#include "vec.h"
#include "vec3.h"
Go to the source code of this file.
|
#define | S(v0, v1) constexpr vec2_base<T> v0 ## v1() const { return {this->v0, this->v1}; } |
|
#define | S(v0, v1, v2) |
|
#define | S(v0, v1, v2, v3) |
|
◆ S [1/3]
#define S |
( |
|
v0, |
|
|
|
v1 |
|
) |
| constexpr vec2_base<T> v0 ## v1() const { return {this->v0, this->v1}; } |
◆ S [2/3]
Value: constexpr vec3_base<T> v0 ## v1 ## v2() const \
{ return {this->v0, this->v1, this->v2}; }
◆ S [3/3]
#define S |
( |
|
v0, |
|
|
|
v1, |
|
|
|
v2, |
|
|
|
v3 |
|
) |
| |
Value: constexpr vec4_base<T> v0 ## v1 ## v2 ## v3() const \
{ return {this->v0, this->v1, this->v2, this->v3}; }