![]() |
ProtoTracer
1.0
Real-time 3D rendering and animation engine
|
Represents a group of three unsigned integer indices. More...
#include <IndexGroup.h>
Public Member Functions | |
IndexGroup () | |
Default constructor. | |
IndexGroup (const IndexGroup &indexGroup) | |
Copy constructor. | |
IndexGroup (unsigned int X, unsigned int Y, unsigned int Z) | |
Parameterized constructor. | |
IndexGroup | Add (IndexGroup indexGroup) |
Adds two IndexGroup objects component-wise. | |
IndexGroup | Subtract (IndexGroup indexGroup) |
Subtracts two IndexGroup objects component-wise. | |
IndexGroup | Multiply (IndexGroup indexGroup) |
Multiplies two IndexGroup objects component-wise. | |
IndexGroup | Divide (IndexGroup indexGroup) |
Divides two IndexGroup objects component-wise. | |
String | ToString () |
Converts the IndexGroup to a string representation. | |
Public Attributes | |
unsigned int | A |
First index in the group. | |
unsigned int | B |
Second index in the group. | |
unsigned int | C |
Third index in the group. | |
Represents a group of three unsigned integer indices.
Definition at line 22 of file IndexGroup.h.
IndexGroup | ( | ) |
Default constructor.
Definition at line 3 of file IndexGroup.cpp.
IndexGroup | ( | const IndexGroup & | indexGroup | ) |
Copy constructor.
indexGroup | The IndexGroup to copy from. |
Definition at line 5 of file IndexGroup.cpp.
Parameterized constructor.
X | Value for the first index. |
Y | Value for the second index. |
Z | Value for the third index. |
Definition at line 7 of file IndexGroup.cpp.
IndexGroup Add | ( | IndexGroup | indexGroup | ) |
Adds two IndexGroup objects component-wise.
indexGroup | The IndexGroup to add. |
Definition at line 9 of file IndexGroup.cpp.
IndexGroup Divide | ( | IndexGroup | indexGroup | ) |
Divides two IndexGroup objects component-wise.
indexGroup | The IndexGroup to divide. |
Definition at line 33 of file IndexGroup.cpp.
IndexGroup Multiply | ( | IndexGroup | indexGroup | ) |
Multiplies two IndexGroup objects component-wise.
indexGroup | The IndexGroup to multiply. |
Definition at line 25 of file IndexGroup.cpp.
IndexGroup Subtract | ( | IndexGroup | indexGroup | ) |
Subtracts two IndexGroup objects component-wise.
indexGroup | The IndexGroup to subtract. |
Definition at line 17 of file IndexGroup.cpp.
String ToString | ( | ) |
Converts the IndexGroup to a string representation.
Definition at line 41 of file IndexGroup.cpp.
First index in the group.
Definition at line 24 of file IndexGroup.h.
Referenced by Add(), Divide(), Multiply(), Subtract(), and ToString().
Second index in the group.
Definition at line 25 of file IndexGroup.h.
Referenced by Add(), Divide(), Multiply(), Subtract(), and ToString().
Third index in the group.
Definition at line 26 of file IndexGroup.h.
Referenced by Add(), Divide(), Multiply(), Subtract(), and ToString().