SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
SLEntity is the Data Oriented Design version of a SLNode. More...
#include <SLEntities.h>
Public Member Functions | |
SLEntity (SLNode *myNode=nullptr) | |
Public Attributes | |
SLint | parentID |
ID of the parent node (-1 of no parent) More... | |
SLuint | childCount |
Number of children. More... | |
SLMat4f | om |
Object matrix for local transforms. More... | |
SLMat4f | wm |
World matrix for world transform. More... | |
SLMat4f | wmI |
Inverse world matrix. More... | |
SLNode * | node |
Pointer to the corresponding SLNode instance. More... | |
SLEntity is the Data Oriented Design version of a SLNode.
Definition at line 27 of file SLEntities.h.
|
inline |
Definition at line 29 of file SLEntities.h.
SLuint SLEntity::childCount |
Number of children.
Definition at line 35 of file SLEntities.h.
SLNode* SLEntity::node |
Pointer to the corresponding SLNode instance.
Definition at line 39 of file SLEntities.h.
SLMat4f SLEntity::om |
Object matrix for local transforms.
Definition at line 36 of file SLEntities.h.
SLint SLEntity::parentID |
ID of the parent node (-1 of no parent)
Definition at line 34 of file SLEntities.h.
SLMat4f SLEntity::wm |
World matrix for world transform.
Definition at line 37 of file SLEntities.h.
SLMat4f SLEntity::wmI |
Inverse world matrix.
Definition at line 38 of file SLEntities.h.