a scalar normalized signed short More...
Public Member Functions | |
ShortN (float f) | |
constructor taking a float to convert to normalized signed short | |
float | ToFloat () |
return the float value of this | |
bool | Equals (ShortN v) |
equality test | |
override bool | Equals (Object o) |
equality test | |
override string | ToString () |
get the string representation of float value | |
override int | GetHashCode () |
gets the hash code for this | |
Static Public Member Functions | |
static bool | operator== (ShortN v1, ShortN v2) |
equality operator | |
static bool | operator!= (ShortN v1, ShortN v2) |
not equals operator | |
static implicit | operator float (ShortN v) |
float casting operator | |
static | operator ShortN (float f) |
normalized signed short casting operator | |
Public Attributes | |
short | Bits |
the short data |
a scalar normalized signed short
ShortN | ( | float | f | ) |
constructor taking a float to convert to normalized signed short
f | the float to convert |
bool Equals | ( | ShortN | v | ) |
equality test
v | the value to compare this to |
override bool Equals | ( | Object | o | ) |
equality test
o | the object to compare this to |
override int GetHashCode | ( | ) |
gets the hash code for this
static implicit operator float | ( | ShortN | v | ) | [static] |
float casting operator
v | the value to convert to float |
static operator ShortN | ( | float | f | ) | [explicit, static] |
normalized signed short casting operator
f | the float to convert to normalized signed short |
not equals operator
v1 | value 1 |
v2 | value 2 |
equality operator
v1 | value 1 |
v2 | value 2 |
float ToFloat | ( | ) |
return the float value of this
override string ToString | ( | ) |
get the string representation of float value
short Bits |
the short data