vector of 4 halfs
More...
List of all members.
Detailed Description
Constructor & Destructor Documentation
Half4 |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
w |
|
) |
| |
constructor taking 4 scalar floats
- Parameters:
-
x | x value to init with |
y | y value to init with |
z | z value to init with |
w | w value to init with |
constructor taking a Vector4
- Parameters:
-
Member Function Documentation
equality test
- Parameters:
-
v | the vector to compare this to |
- Returns:
- true if this == v, false otherwise
override bool Equals |
( |
Object |
o | ) |
|
equality test
- Parameters:
-
o | the object to compare this to |
- Returns:
- true if this == o, false otherwise
override int GetHashCode |
( |
| ) |
|
gets the hash code for this
- Returns:
- integer hash code
static bool operator!= |
( |
Half4 |
v1, |
|
|
Half4 |
v2 |
|
) |
| [static] |
not equals operator
- Parameters:
-
- Returns:
- true if v 1 != v 2, false otherwise
static bool operator== |
( |
Half4 |
v1, |
|
|
Half4 |
v2 |
|
) |
| [static] |
equality operator
- Parameters:
-
- Returns:
- true if vector 1 == vector 2, false otherwise
override string ToString |
( |
| ) |
|
get the string representation of vector value
- Returns:
- the string representation of vector value
Member Data Documentation