#include <fbtypes.h>
Class Description
Color vector.
Definition at line 447 of file fbtypes.h.
Constructor & Destructor Documentation
FBColor::FBColor |
( |
double * |
pValue |
) |
|
Constructor from array.
- Parameters:
-
pValue |
Array to take values from. |
FBColor::FBColor |
( |
double |
pRed, |
|
|
double |
pGreen, |
|
|
double |
pBlue |
|
) |
|
|
Constructor.
- Parameters:
-
pRed |
Red component. |
pGreen |
Green component. |
pBlue |
Blue component. |
FBColor::FBColor |
( |
const FBColor & |
pVector |
) |
|
Member Function Documentation
double& FBColor::operator[] |
( |
int |
pIndex |
) |
|
Overloaded [] operator.
- Parameters:
-
pIndex |
Element to access. |
- Returns:
- Element at pIndex.
Reimplemented from FBVector3<
double >.
FBColor::operator double * |
( |
|
) |
const |
Overloaded cast to array.
- Returns:
- Array of items of tType.
Reimplemented from FBVector3<
double >.
Overloaded equal operator.
- Parameters:
-
- Returns:
- this vector as a const.
void FBColor::operator= |
( |
double * |
pValue |
) |
|
void FBVector3< double >::Init |
( |
|
) |
[inherited] |
Initialization function.
Clear vector.
Reimplemented in FBSVector.
void FBVector3< double >::Set |
( |
double * |
pValue |
) |
[inherited] |
Set vector from an array.
- Parameters:
-
pValue |
Array to copy value from. |
not equal operator.
- Parameters:
-
pVector |
Vector to compare. |
- Returns:
- true if not equal.
equal operator.
- Parameters:
-
pVector |
Vector to compare. |
- Returns:
- true if equal.
Member Data Documentation
The documentation for this class was generated from the following
file: