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/transform.h
"
16
#include "flat/foundation/math.h"
17
18
namespace
Flat
19
{
20
struct
Vec2;
21
struct
Vec3;
22
struct
Vec4;
23
struct
Mat4;
24
struct
Quat;
25
}
26
27
namespace
flatbuffers
28
{
30
Flat::Quat
Pack
(
const
Math::quat& v);
32
Math::quat
UnPack
(
const
Flat::Quat& v);
34
Flat::Vec4
Pack
(
const
Math::vec4& v);
36
Math::vec4
UnPack
(
const
Flat::Vec4& v);
38
Flat::Vec3
Pack
(
const
Math::vec3& v);
40
Math::vec3
UnPack
(
const
Flat::Vec3& v);
42
Flat::Vec2
Pack
(
const
Math::vec2& v);
44
Math::vec2
UnPack
(
const
Flat::Vec2& v);
46
Flat::Mat4
Pack
(
const
Math::mat4& v);
48
Math::mat4
UnPack
(
const
Flat::Mat4& v);
50
Flat::Transform
Pack
(
const
Math::transform& v);
52
Math::transform
UnPack
(
const
Flat::Transform& v);
53
}
mat4.h
Flat
Flatbuffer to Nebula type conversion functions.
Definition
flatbufferinterface.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.