Bifrost SDK
Bifrost SDK documentation
Types.h File Reference

Go to the source code of this file.

Classes

struct  Bifrost::Math::float2
 A vector of two floats, x and y. More...
 
struct  Bifrost::Math::float3
 A vector of three floats, x, y and z. More...
 
struct  Bifrost::Math::float4
 A vector of four floats, x, y, z and w. More...
 
struct  Bifrost::Math::float2x2
 A matrix with two columns and two rows of floats. More...
 
struct  Bifrost::Math::float3x2
 A matrix with two columns and three rows of floats. More...
 
struct  Bifrost::Math::float4x2
 A matrix with two columns and four rows of floats. More...
 
struct  Bifrost::Math::float2x3
 A matrix with tree columns and two rows of floats. More...
 
struct  Bifrost::Math::float3x3
 A matrix with tree columns and tree rows of floats. More...
 
struct  Bifrost::Math::float4x3
 A matrix with tree columns and four rows of floats. More...
 
struct  Bifrost::Math::float2x4
 A matrix with four columns and two rows of floats. More...
 
struct  Bifrost::Math::float3x4
 A matrix with four columns and three rows of floats. More...
 
struct  Bifrost::Math::float4x4
 A matrix with four columns and four rows of floats. More...
 
struct  Bifrost::Math::double2
 A vector of two doubles, x and y. More...
 
struct  Bifrost::Math::double3
 A vector of three doubles, x, y and z. More...
 
struct  Bifrost::Math::double4
 A vector of four doubles, x, y, z and w. More...
 
struct  Bifrost::Math::double2x2
 A matrix with two columns and two rows of doubles. More...
 
struct  Bifrost::Math::double3x2
 A matrix with two columns and three rows of doubles. More...
 
struct  Bifrost::Math::double4x2
 A matrix with two columns and four rows of doubles. More...
 
struct  Bifrost::Math::double2x3
 A matrix with three columns and two rows of doubles. More...
 
struct  Bifrost::Math::double3x3
 A matrix with three columns and three rows of doubles. More...
 
struct  Bifrost::Math::double4x3
 A matrix with three columns and four rows of doubles. More...
 
struct  Bifrost::Math::double2x4
 A matrix with four columns and two rows of doubles. More...
 
struct  Bifrost::Math::double3x4
 A matrix with four columns and three rows of doubles. More...
 
struct  Bifrost::Math::double4x4
 A matrix with four columns and four rows of doubles. More...
 
struct  Bifrost::Math::char2
 A vector of two chars, x and y. More...
 
struct  Bifrost::Math::char3
 A vector of three chars, x, y and z. More...
 
struct  Bifrost::Math::char4
 A vector of four chars, x, y, z and w. More...
 
struct  Bifrost::Math::char2x2
 A matrix with two columns and two rows of chars. More...
 
struct  Bifrost::Math::char3x2
 A matrix with two columns and three rows of chars. More...
 
struct  Bifrost::Math::char4x2
 A matrix with two columns and four rows of chars. More...
 
struct  Bifrost::Math::char2x3
 A matrix with three columns and two rows of chars. More...
 
struct  Bifrost::Math::char3x3
 A matrix with three columns and three rows of chars. More...
 
struct  Bifrost::Math::char4x3
 A matrix with three columns and four rows of chars. More...
 
struct  Bifrost::Math::char2x4
 A matrix with four columns and two rows of chars. More...
 
struct  Bifrost::Math::char3x4
 A matrix with four columns and three rows of chars. More...
 
struct  Bifrost::Math::char4x4
 A matrix with four columns and four rows of chars. More...
 
struct  Bifrost::Math::short2
 A vector of two shorts, x and y. More...
 
struct  Bifrost::Math::short3
 A vector of three shorts, x, y and z. More...
 
struct  Bifrost::Math::short4
 A vector of four shorts, x, y, z and w. More...
 
struct  Bifrost::Math::short2x2
 A matrix with two columns and two rows of shorts. More...
 
struct  Bifrost::Math::short3x2
 A matrix with two columns and three rows of shorts. More...
 
struct  Bifrost::Math::short4x2
 A matrix with two columns and four rows of shorts. More...
 
struct  Bifrost::Math::short2x3
 A matrix with three columns and two rows of shorts. More...
 
struct  Bifrost::Math::short3x3
 A matrix with three columns and tree rows of shorts. More...
 
struct  Bifrost::Math::short4x3
 A matrix with three columns and four rows of shorts. More...
 
struct  Bifrost::Math::short2x4
 A matrix with four columns and two rows of shorts. More...
 
struct  Bifrost::Math::short3x4
 A matrix with four columns and three rows of shorts. More...
 
struct  Bifrost::Math::short4x4
 A matrix with four columns and four rows of shorts. More...
 
struct  Bifrost::Math::int2
 A vector of two ints, x and y. More...
 
struct  Bifrost::Math::int3
 A vector of three ints, x, y and z. More...
 
struct  Bifrost::Math::int4
 A vector of four ints, x, y, z and w. More...
 
struct  Bifrost::Math::int2x2
 A matrix with two columns and two rows of ints. More...
 
struct  Bifrost::Math::int3x2
 A matrix with two columns and three rows of ints. More...
 
struct  Bifrost::Math::int4x2
 A matrix with two columns and four rows of ints. More...
 
struct  Bifrost::Math::int2x3
 A matrix with three columns and two rows of ints. More...
 
struct  Bifrost::Math::int3x3
 A matrix with three columns and three rows of ints. More...
 
struct  Bifrost::Math::int4x3
 A matrix with three columns and four rows of ints. More...
 
struct  Bifrost::Math::int2x4
 A matrix with four columns and two rows of ints. More...
 
struct  Bifrost::Math::int3x4
 A matrix with four columns and three rows of ints. More...
 
struct  Bifrost::Math::int4x4
 A matrix with four columns and four rows of ints. More...
 
struct  Bifrost::Math::long2
 A vector of two longs, x and y. More...
 
struct  Bifrost::Math::long3
 A vector of three longs, x, y and z. More...
 
struct  Bifrost::Math::long4
 A vector of four longs, x, y, z and w. More...
 
struct  Bifrost::Math::long2x2
 A matrix with two columns and two rows of longs. More...
 
struct  Bifrost::Math::long3x2
 A matrix with two columns and three rows of longs. More...
 
struct  Bifrost::Math::long4x2
 A matrix with two columns and four rows of longs. More...
 
struct  Bifrost::Math::long2x3
 A matrix with three columns and two rows of longs. More...
 
struct  Bifrost::Math::long3x3
 A matrix with three columns and three rows of longs. More...
 
struct  Bifrost::Math::long4x3
 A matrix with three columns and four rows of longs. More...
 
struct  Bifrost::Math::long2x4
 A matrix with four columns and two rows of longs. More...
 
struct  Bifrost::Math::long3x4
 A matrix with four columns and three rows of longs. More...
 
struct  Bifrost::Math::long4x4
 A matrix with four columns and four rows of longs. More...
 
struct  Bifrost::Math::uchar2
 A vector of two unsigned chars, x and y. More...
 
struct  Bifrost::Math::uchar3
 A vector of three unsigned chars, x, y and z. More...
 
struct  Bifrost::Math::uchar4
 A vector of four unsigned chars, x, y, z and w. More...
 
struct  Bifrost::Math::uchar2x2
 A matrix with two columns and two rows of unsigned chars. More...
 
struct  Bifrost::Math::uchar3x2
 A matrix with two columns and three rows of unsigned chars. More...
 
struct  Bifrost::Math::uchar4x2
 A matrix with two columns and four rows of unsigned chars. More...
 
struct  Bifrost::Math::uchar2x3
 A matrix with three columns and two rows of unsigned chars. More...
 
struct  Bifrost::Math::uchar3x3
 A matrix with three columns and three rows of unsigned chars. More...
 
struct  Bifrost::Math::uchar4x3
 A matrix with three columns and four rows of unsigned chars. More...
 
struct  Bifrost::Math::uchar2x4
 A matrix with four columns and two rows of unsigned chars. More...
 
struct  Bifrost::Math::uchar3x4
 A matrix with four columns and three rows of unsigned chars. More...
 
struct  Bifrost::Math::uchar4x4
 A matrix with four columns and four rows of unsigned chars. More...
 
struct  Bifrost::Math::ushort2
 A vector of two unsigned shorts, x and y. More...
 
struct  Bifrost::Math::ushort3
 A vector of three unsigned shorts, x, y and z. More...
 
struct  Bifrost::Math::ushort4
 A vector of four unsigned shorts, x, y, z and w. More...
 
struct  Bifrost::Math::ushort2x2
 A matrix with two columns and two rows of unsigned shorts. More...
 
struct  Bifrost::Math::ushort3x2
 A matrix with two columns and three rows of unsigned shorts. More...
 
struct  Bifrost::Math::ushort4x2
 A matrix with two columns and four rows of unsigned shorts. More...
 
struct  Bifrost::Math::ushort2x3
 A matrix with three columns and two rows of unsigned shorts. More...
 
struct  Bifrost::Math::ushort3x3
 A matrix with three columns and three rows of unsigned shorts. More...
 
struct  Bifrost::Math::ushort4x3
 A matrix with three columns and four rows of unsigned shorts. More...
 
struct  Bifrost::Math::ushort2x4
 A matrix with four columns and two rows of unsigned shorts. More...
 
struct  Bifrost::Math::ushort3x4
 A matrix with four columns and three rows of unsigned shorts. More...
 
struct  Bifrost::Math::ushort4x4
 A matrix with four columns and four rows of unsigned shorts. More...
 
struct  Bifrost::Math::uint2
 A vector of two unsigned ints, x and y. More...
 
struct  Bifrost::Math::uint3
 A vector of three unsigned ints, x, y and z. More...
 
struct  Bifrost::Math::uint4
 A vector of four unsigned ints, x, y, z and w. More...
 
struct  Bifrost::Math::uint2x2
 A matrix with two columns and two rows of unsigned ints. More...
 
struct  Bifrost::Math::uint3x2
 A matrix with two columns and three rows of unsigned ints. More...
 
struct  Bifrost::Math::uint4x2
 A matrix with two columns and four rows of unsigned ints. More...
 
struct  Bifrost::Math::uint2x3
 A matrix with three columns and two rows of unsigned ints. More...
 
struct  Bifrost::Math::uint3x3
 A matrix with three columns and three rows of unsigned ints. More...
 
struct  Bifrost::Math::uint4x3
 A matrix with three columns and four rows of unsigned ints. More...
 
struct  Bifrost::Math::uint2x4
 A matrix with four columns and two rows of unsigned ints. More...
 
struct  Bifrost::Math::uint3x4
 A matrix with four columns and three rows of unsigned ints. More...
 
struct  Bifrost::Math::uint4x4
 A matrix with four columns and four rows of unsigned ints. More...
 
struct  Bifrost::Math::ulong2
 A vector of two unsigned longs, x and y. More...
 
struct  Bifrost::Math::ulong3
 A vector of three unsigned longs, x, y and z. More...
 
struct  Bifrost::Math::ulong4
 A vector of four unsigned longs, x, y, z and w. More...
 
struct  Bifrost::Math::ulong2x2
 A matrix with two columns and two rows of unsigned longs. More...
 
struct  Bifrost::Math::ulong3x2
 A matrix with two columns and three rows of unsigned longs. More...
 
struct  Bifrost::Math::ulong4x2
 A matrix with two columns and four rows of unsigned longs. More...
 
struct  Bifrost::Math::ulong2x3
 A matrix with three columns and two rows of unsigned longs. More...
 
struct  Bifrost::Math::ulong3x3
 A matrix with three columns and three rows of unsigned longs. More...
 
struct  Bifrost::Math::ulong4x3
 A matrix with three columns and four rows of unsigned longs. More...
 
struct  Bifrost::Math::ulong2x4
 A matrix with four columns and two rows of unsigned longs. More...
 
struct  Bifrost::Math::ulong3x4
 A matrix with four columns and three rows of unsigned longs. More...
 
struct  Bifrost::Math::ulong4x4
 A matrix with four columns and four rows of unsigned longs. More...
 
struct  Bifrost::Math::bool2
 A vector of two bools, x and y. More...
 
struct  Bifrost::Math::bool3
 A vector of three bools, x, y and z. More...
 
struct  Bifrost::Math::bool4
 A vector of four bools, x, y, z and w. More...
 
struct  Bifrost::Math::bool2x2
 A matrix with two columns and two rows of bools. More...
 
struct  Bifrost::Math::bool3x2
 A matrix with two columns and three rows of bools. More...
 
struct  Bifrost::Math::bool4x2
 A matrix with two columns and four rows of bools. More...
 
struct  Bifrost::Math::bool2x3
 A matrix with three columns and two rows of bools. More...
 
struct  Bifrost::Math::bool3x3
 A matrix with three columns and three rows of bools. More...
 
struct  Bifrost::Math::bool4x3
 A matrix with three columns and four rows of bools. More...
 
struct  Bifrost::Math::bool2x4
 A matrix with four columns and two rows of bools. More...
 
struct  Bifrost::Math::bool3x4
 A matrix with four columns and three rows of bools. More...
 
struct  Bifrost::Math::bool4x4
 A matrix with four columns and four rows of bools. More...
 

Namespaces

namespace  Bifrost
 
namespace  Bifrost::Math
 

Macros

#define BIFROST_IGNORE_NAMESPACE   AMINO_ANNOTATE("Amino::Namespace ignore")
 Bifrost standard math types. More...
 
#define TYPE_KIND(kind)   "{type_kind, " kind "}"
 
#define WPLAYOUT(layout)   "{watchpoint_layout, " layout "}"
 
#define WPLAYOUT_VECTOR_2   "($x\\, $y)"
 
#define WPLAYOUT_VECTOR_3   "($x\\, $y\\, $z)"
 
#define WPLAYOUT_VECTOR_4   "($x\\, $y\\, $z\\, $w)"
 
#define WPLAYOUT_MATRIX_2x2    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\})\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\})\\]"
 
#define WPLAYOUT_MATRIX_2x3    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\, $\\{c2.x\\})\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\, $\\{c2.y\\})\\]"
 
#define WPLAYOUT_MATRIX_2x4    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\, $\\{c2.x\\}\\, $\\{c3.x\\})\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\, $\\{c2.y\\}\\, $\\{c3.y\\})\\]"
 
#define WPLAYOUT_MATRIX_3x2    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\‍)\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\‍)\\, \‍($\\{c0.z\\}\\, $\\{c1.z\\})\\]"
 
#define WPLAYOUT_MATRIX_3x3    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\, $\\{c2.x\\}\\‍)\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\, $\\{c2.y\\}\\‍)\\, \‍($\\{c0.z\\}\\, $\\{c1.z\\}\\, $\\{c2.z\\}\\‍)\\]"
 
#define WPLAYOUT_MATRIX_3x4    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\, $\\{c2.x\\}\\, $\\{c3.x\\})\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\, $\\{c2.y\\}\\, $\\{c3.y\\})\\, \‍($\\{c0.z\\}\\, $\\{c1.z\\}\\, $\\{c2.z\\}\\, $\\{c3.z\\})\\]"
 
#define WPLAYOUT_MATRIX_4x2    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\‍)\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\‍)\\, \‍($\\{c0.z\\}\\, $\\{c1.z\\}\\‍)\\, \‍($\\{c0.w\\}\\, $\\{c1.w\\}\\‍)\\]"
 
#define WPLAYOUT_MATRIX_4x3    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\, $\\{c2.x\\})\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\, $\\{c2.y\\})\\, \‍($\\{c0.z\\}\\, $\\{c1.z\\}\\, $\\{c2.z\\})\\, \‍($\\{c0.w\\}\\, $\\{c1.w\\}\\, $\\{c2.w\\})\\]"
 
#define WPLAYOUT_MATRIX_4x4    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\, $\\{c2.x\\}\\, $\\{c3.x\\})\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\, $\\{c2.y\\}\\, $\\{c3.y\\})\\, \‍($\\{c0.z\\}\\, $\\{c1.z\\}\\, $\\{c2.z\\}\\, $\\{c3.z\\})\\, \‍($\\{c0.w\\}\\, $\\{c1.w\\}\\, $\\{c2.w\\}\\, $\\{c3.w\\})\\]"
 

Enumerations

enum class  Bifrost::Math::rotation_order : int {
  Bifrost::Math::XYZ = 0 , Bifrost::Math::YZX = 1 , Bifrost::Math::ZXY = 2 , Bifrost::Math::XZY = 3 ,
  Bifrost::Math::YXZ = 4 , Bifrost::Math::ZYX = 5
}
 Order of rotation around the different axes. More...
 

Macro Definition Documentation

◆ BIFROST_IGNORE_NAMESPACE

#define BIFROST_IGNORE_NAMESPACE   AMINO_ANNOTATE("Amino::Namespace ignore")

Bifrost standard math types.

Definition at line 22 of file Types.h.

◆ TYPE_KIND

#define TYPE_KIND (   kind)    "{type_kind, " kind "}"

Definition at line 26 of file Types.h.

◆ WPLAYOUT

#define WPLAYOUT (   layout)    "{watchpoint_layout, " layout "}"

Definition at line 27 of file Types.h.

◆ WPLAYOUT_MATRIX_2x2

#define WPLAYOUT_MATRIX_2x2    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\})\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\})\\]"

Definition at line 33 of file Types.h.

◆ WPLAYOUT_MATRIX_2x3

#define WPLAYOUT_MATRIX_2x3    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\, $\\{c2.x\\})\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\, $\\{c2.y\\})\\]"

Definition at line 37 of file Types.h.

◆ WPLAYOUT_MATRIX_2x4

#define WPLAYOUT_MATRIX_2x4    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\, $\\{c2.x\\}\\, $\\{c3.x\\})\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\, $\\{c2.y\\}\\, $\\{c3.y\\})\\]"

Definition at line 41 of file Types.h.

◆ WPLAYOUT_MATRIX_3x2

#define WPLAYOUT_MATRIX_3x2    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\‍)\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\‍)\\, \‍($\\{c0.z\\}\\, $\\{c1.z\\})\\]"

Definition at line 45 of file Types.h.

◆ WPLAYOUT_MATRIX_3x3

#define WPLAYOUT_MATRIX_3x3    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\, $\\{c2.x\\}\\‍)\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\, $\\{c2.y\\}\\‍)\\, \‍($\\{c0.z\\}\\, $\\{c1.z\\}\\, $\\{c2.z\\}\\‍)\\]"

Definition at line 50 of file Types.h.

◆ WPLAYOUT_MATRIX_3x4

#define WPLAYOUT_MATRIX_3x4    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\, $\\{c2.x\\}\\, $\\{c3.x\\})\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\, $\\{c2.y\\}\\, $\\{c3.y\\})\\, \‍($\\{c0.z\\}\\, $\\{c1.z\\}\\, $\\{c2.z\\}\\, $\\{c3.z\\})\\]"

Definition at line 55 of file Types.h.

◆ WPLAYOUT_MATRIX_4x2

#define WPLAYOUT_MATRIX_4x2    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\‍)\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\‍)\\, \‍($\\{c0.z\\}\\, $\\{c1.z\\}\\‍)\\, \‍($\\{c0.w\\}\\, $\\{c1.w\\}\\‍)\\]"

Definition at line 60 of file Types.h.

◆ WPLAYOUT_MATRIX_4x3

#define WPLAYOUT_MATRIX_4x3    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\, $\\{c2.x\\})\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\, $\\{c2.y\\})\\, \‍($\\{c0.z\\}\\, $\\{c1.z\\}\\, $\\{c2.z\\})\\, \‍($\\{c0.w\\}\\, $\\{c1.w\\}\\, $\\{c2.w\\})\\]"

Definition at line 66 of file Types.h.

◆ WPLAYOUT_MATRIX_4x4

#define WPLAYOUT_MATRIX_4x4    "\\[\‍($\\{c0.x\\}\\, $\\{c1.x\\}\\, $\\{c2.x\\}\\, $\\{c3.x\\})\\, \‍($\\{c0.y\\}\\, $\\{c1.y\\}\\, $\\{c2.y\\}\\, $\\{c3.y\\})\\, \‍($\\{c0.z\\}\\, $\\{c1.z\\}\\, $\\{c2.z\\}\\, $\\{c3.z\\})\\, \‍($\\{c0.w\\}\\, $\\{c1.w\\}\\, $\\{c2.w\\}\\, $\\{c3.w\\})\\]"

Definition at line 72 of file Types.h.

◆ WPLAYOUT_VECTOR_2

#define WPLAYOUT_VECTOR_2   "($x\\, $y)"

Definition at line 29 of file Types.h.

◆ WPLAYOUT_VECTOR_3

#define WPLAYOUT_VECTOR_3   "($x\\, $y\\, $z)"

Definition at line 30 of file Types.h.

◆ WPLAYOUT_VECTOR_4

#define WPLAYOUT_VECTOR_4   "($x\\, $y\\, $z\\, $w)"

Definition at line 31 of file Types.h.