Nebula
Loading...
Searching...
No Matches
nskfileformatstructs.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
12#include "core/types.h"
13#include "util/string.h"
14#include "math/quat.h"
15
16namespace Characters
17{
18#pragma pack(push, 1)
19
20#define NEBULA_NSK3_MAGICNUMBER 'NS01'
21
22//------------------------------------------------------------------------------
34
39
41{
43 float bind[16];
44 float rotation[4];
45 float translation[3];
46 float scale[3];
47 int parent;
48 int index;
49};
50
51#pragma pack(pop)
52} // namespace Characters
A character encapsulates a skeleton resource, an animation resource, and the ability to instantiate s...
Definition charactercontext.cc:21
NSK3 file format structs.
Definition nskfileformatstructs.h:30
uint magic
Definition nskfileformatstructs.h:31
uint numSkeletons
Definition nskfileformatstructs.h:32
Definition nskfileformatstructs.h:41
Util::String name
Definition nskfileformatstructs.h:42
int parent
Definition nskfileformatstructs.h:47
float translation[3]
Definition nskfileformatstructs.h:45
float bind[16]
Definition nskfileformatstructs.h:43
float scale[3]
Definition nskfileformatstructs.h:46
int index
Definition nskfileformatstructs.h:48
float rotation[4]
Definition nskfileformatstructs.h:44
Definition nskfileformatstructs.h:36
uint numJoints
Definition nskfileformatstructs.h:37
Nebula's universal string class.
Definition string.h:50
unsigned int uint
Definition types.h:31