TDME2  1.9.200
JointWeight.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <tdme/tdme.h>
5 
6 /**
7  * Joint/bone weight
8  * @author andreas.drewke
9  */
11 {
12 private:
13  int32_t jointIndex;
14  int32_t weightIndex;
15 
16 public:
17  /**
18  * Public constructor
19  */
20  JointWeight();
21 
22  /**
23  * Public constructor
24  * @param jointIndex joint index
25  * @param weightIndex weight index
26  */
27  JointWeight(int32_t jointIndex, int32_t weightIndex);
28 
29  /**
30  * @returns joint index
31  */
32  inline int32_t getJointIndex() const {
33  return jointIndex;
34  }
35 
36  /**
37  * @returns weight index
38  */
39  inline int32_t getWeightIndex() const {
40  return weightIndex;
41  }
42 
43 };
JointWeight()
Public constructor.
Definition: JointWeight.cpp:6