#include <Color1.h>
Initializes to 0
float value
Definition: Color1.h:37
void deserialize(class BinaryInput &bi)
Definition: Color1.cpp:43
G3D::Color1::Color1 |
( |
float |
v | ) |
|
|
inlineexplicit |
float value
Definition: Color1.h:37
G3D::Color1::Color1 |
( |
unorm8 |
v | ) |
|
|
inlineexplicit |
float value
Definition: Color1.h:37
G3D::Color1::Color1 |
( |
const class Color1unorm8 & |
other | ) |
|
|
explicit |
float value
Definition: Color1.h:37
void G3D::Color1::deserialize |
( |
class BinaryInput & |
bi | ) |
|
44 value = bi.readFloat32();
float value
Definition: Color1.h:37
size_t G3D::Color1::hashCode |
( |
| ) |
const |
|
inline |
154 return (
size_t)(
value * 0xFFFFFF);
float value
Definition: Color1.h:37
bool G3D::Color1::isOne |
( |
| ) |
const |
|
inline |
float value
Definition: Color1.h:37
bool G3D::Color1::isZero |
( |
| ) |
const |
|
inline |
float value
Definition: Color1.h:37
Color1()
Definition: Color1.h:42
float value
Definition: Color1.h:37
Color1()
Definition: Color1.h:42
T max(const T &x, const T &y)
Definition: g3dmath.h:320
float value
Definition: Color1.h:37
Color1()
Definition: Color1.h:42
T min(const T &x, const T &y)
Definition: g3dmath.h:305
float value
Definition: Color1.h:37
Color1()
Definition: Color1.h:42
G3D::int16 x
Definition: Vector2int16.h:37
Color1()
Definition: Color1.h:42
float value
Definition: Color1.h:37
Color1 G3D::Color1::operator* |
( |
const float |
other | ) |
const |
|
inline |
Color1()
Definition: Color1.h:42
float value
Definition: Color1.h:37
109 value *= other.value;
float value
Definition: Color1.h:37
float value
Definition: Color1.h:37
Color1()
Definition: Color1.h:42
float value
Definition: Color1.h:37
Color1 G3D::Color1::operator+ |
( |
const float |
other | ) |
const |
|
inline |
- Deprecated:
Color1()
Definition: Color1.h:42
float value
Definition: Color1.h:37
float value
Definition: Color1.h:37
Color1()
Definition: Color1.h:42
float value
Definition: Color1.h:37
Color1 G3D::Color1::operator- |
( |
const float |
other | ) |
const |
|
inline |
- Deprecated:
Color1()
Definition: Color1.h:42
float value
Definition: Color1.h:37
Color1 G3D::Color1::operator- |
( |
| ) |
const |
|
inline |
Color1()
Definition: Color1.h:42
float value
Definition: Color1.h:37
float value
Definition: Color1.h:37
Color1()
Definition: Color1.h:42
float value
Definition: Color1.h:37
Color1 G3D::Color1::operator/ |
( |
const float |
other | ) |
const |
|
inline |
Color1()
Definition: Color1.h:42
float value
Definition: Color1.h:37
float value
Definition: Color1.h:37
124 value /= other.value;
float value
Definition: Color1.h:37
Color3 G3D::Color1::rgb |
( |
| ) |
const |
Returns the value three times
float value
Definition: Color1.h:37
void G3D::Color1::serialize |
( |
class BinaryOutput & |
bo | ) |
const |
49 bo.writeFloat32(
value);
float value
Definition: Color1.h:37
Color1()
Definition: Color1.h:42
G3D::int16 x
Definition: Vector2int16.h:37
The documentation for this class was generated from the following files: