Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
nebula_flat.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
9
10
#include "
math/vec2.h
"
11
#include "
math/vec3.h
"
12
#include "
math/vec4.h
"
13
#include "
math/mat4.h
"
14
#include "
math/quat.h
"
15
#include "
math/bbox.h
"
16
#include "
math/transform.h
"
17
#include "flat/foundation/math.h"
18
19
namespace
Flat
20
{
21
struct
Vec2;
22
struct
Vec3;
23
struct
Vec4;
24
struct
Mat4;
25
struct
BoundingBox
;
26
struct
Quat;
27
}
28
29
namespace
flatbuffers
30
{
32
Flat::Quat
Pack
(
const
Math::quat& v);
34
Math::quat
UnPack
(
const
Flat::Quat& v);
36
Flat::Vec4
Pack
(
const
Math::vec4& v);
38
Math::vec4
UnPack
(
const
Flat::Vec4& v);
40
Flat::Vec3
Pack
(
const
Math::vec3& v);
42
Math::vec3
UnPack
(
const
Flat::Vec3& v);
44
Flat::Vec2
Pack
(
const
Math::vec2& v);
46
Math::vec2
UnPack
(
const
Flat::Vec2& v);
48
Flat::Mat4
Pack
(
const
Math::mat4& v);
50
Math::mat4
UnPack
(
const
Flat::Mat4& v);
52
Flat::BoundingBox
Pack
(
const
Math::bbox& v);
54
Math::bbox
UnPack
(
const
Flat::BoundingBox& v);
56
Flat::Transform
Pack
(
const
Math::transform& v);
58
Math::transform
UnPack
(
const
Flat::Transform& v);
59
}
bbox.h
mat4.h
Flat
Flatbuffer to Nebula type conversion functions.
Definition
flatbufferinterface.h:28
Visibility::BoundingBox
@ BoundingBox
Definition
visibility.h:28
flatbuffers
Definition
nebula_flat.cc:10
flatbuffers::UnPack
Math::mat4 UnPack(const Flat::Mat4 &v)
Definition
nebula_flat.cc:24
flatbuffers::Pack
Flat::Mat4 Pack(const Math::mat4 &v)
Definition
nebula_flat.cc:14
quat.h
transform.h
vec2.h
vec3.h
vec4.h
code
addons
nflatbuffer
nebula_flat.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.