Constructors |
|
| NormalStruct () | |
| NormalStruct ( _DONTCONSTRUCT dc) | |
| NormalStruct (const 向量 &t_a, const 向量 &t_b, const 向量 &t_c, const 向量 &t_d) | |
Vertex Normals |
|
| 向量 | a |
| 向量 | b |
| 向量 | c |
| 向量 | d |
Get/Set Vertex Normals |
|
| 向量 & | operator[] ( Int32 index) const |
| NormalStruct | ( | ) |
Default constructor.
|
explicit |
Creates an empty vertex normal variable without constructing the vectors.
| [in] | dc | Dummy argument. Pass DC. |
| NormalStruct | ( | const 向量 & | t_a , |
| const 向量 & | t_b , | ||
| const 向量 & | t_c , | ||
| const 向量 & | t_d | ||
| ) |
Fills the vertex normals.
| [in] | t_a | The vertex normal for the first point. |
| [in] | t_b | The vertex normal for the second point. |
| [in] | t_c | The vertex normal for the third point. |
| [in] | t_d | The vertex normal for the fourth point. |
| 向量 & operator[] | ( | Int32 | index | ) | const |
Gets the vertex normal for the point at index .
| [in] | index |
The point index.
0
<=
index
< 3.
0 returns a , 1 returns b , 2 returns c and 3 returns d. Any other value must not be used and will crash. |
| 向量 a |
The vertex normal for the first point.
| 向量 b |
The vertex normal for the second point.
| 向量 c |
The vertex normal for the third point.
| 向量 d |
The vertex normal for the fourth point.