Definition at line 15 of file Joint.h.
◆ Joint()
CSE::Joint::Joint |
( |
int |
m_index, |
|
|
std::string |
m_nameID, |
|
|
mat4 |
m_bindLocalTransform |
|
) |
| |
|
inline |
Definition at line 17 of file Joint.h.
18 : m_index(m_index), m_nameID(m_nameID), m_bindLocalTransform(m_bindLocalTransform) {
19
20 }
◆ ~Joint()
Definition at line 22 of file Joint.h.
22 {
23 for (auto child : m_children) {
24 SAFE_DELETE(child);
25 }
26
27 m_children.clear();
28 }
◆ addChild()
void CSE::Joint::addChild |
( |
Joint * |
child | ) |
|
|
inline |
Definition at line 30 of file Joint.h.
30 {
31 if (child == nullptr) return;
32 m_children.push_back(child);
33 }
◆ GetBindLocalTransform()
const mat4 CSE::Joint::GetBindLocalTransform |
( |
| ) |
const |
|
inline |
Definition at line 43 of file Joint.h.
43 {
44 return m_bindLocalTransform;
45 }
◆ GetChildren()
const std::vector< Joint * > & CSE::Joint::GetChildren |
( |
| ) |
const |
|
inline |
Definition at line 47 of file Joint.h.
47 {
48 return m_children;
49 }
◆ GetIndex()
int CSE::Joint::GetIndex |
( |
| ) |
const |
|
inline |
Definition at line 39 of file Joint.h.
39 {
40 return m_index;
41 }
◆ GetName()
const std::string & CSE::Joint::GetName |
( |
| ) |
const |
|
inline |
Definition at line 35 of file Joint.h.
35 {
36 return m_nameID;
37 }
The documentation for this class was generated from the following file: