#include <BrayT.hpp>
Static Public Member Functions | |
bool | isLeftwise (bray_t bray) |
bool | isRightwise (bray_t bray) |
bray_t | mask (bray_t bray) |
bray_t | add (bray_t b1, bray_t b2) |
bray_t | sub (bray_t b1, bray_t b2) |
bray_t | diff (bray_t b1, bray_t b2) |
bray_t | towards (bray_t from, bray_t to, bray_t d) |
float | toRad (bray_t bray) |
bray_t | fromRad (float rad) |
float | toDeg (bray_t bray) |
float | toBray (bray_t bray) |
bray_t | fromDeg (float deg) |
short | to4 (bray_t bray) |
short | to8 (bray_t bray) |
short | to16 (bray_t bray) |
short | toPlatform (bray_t bray) |
short | toClockwise4 (bray_t bray) |
short | toClockwise8 (bray_t bray) |
short | toClockwise16 (bray_t bray) |
short | toClockwisePlatform (bray_t bray) |
bray_t | fromClockwise4 (short dir) |
bray_t | fromClockwise8 (short dir) |
bray_t | fromClockwise16 (short dir) |
bray_t | fromClockwisePlatform (short dir) |
bray_t | abs (bray_t v) |
Translate to value in range 0 to (BRAY_RANGE / 2), which equals 0 to 180 degrees. | |
scale_t | abss (scale_t t) |
bray_t | fromScale (scale_t v) |
bray_t | scale (scale_t s, bray_t b) |
bray_t | invert (bray_t b) |
bray_t | negate (bray_t b) |
Static Public Attributes | |
const bray_t | DEG0 = 0 |
const bray_t | DEG45 = BRAY_RANGE * 1 / 8 |
const bray_t | DEG90 = BRAY_RANGE * 2 / 8 |
const bray_t | DEG135 = BRAY_RANGE * 3 / 8 |
const bray_t | DEG180 = BRAY_RANGE * 4 / 8 |
const bray_t | DEG225 = BRAY_RANGE * 5 / 8 |
const bray_t | DEG270 = BRAY_RANGE * 6 / 8 |
const bray_t | DEG315 = BRAY_RANGE * 7 / 8 |
const bray_t | DEG360 = BRAY_RANGE * 8 / 8 |
|
Translate to value in range 0 to (BRAY_RANGE / 2), which equals 0 to 180 degrees.
Definition at line 172 of file BrayT.hpp. References bray_t. |
|
Definition at line 177 of file BrayT.hpp. References scale_t. |
|
Definition at line 58 of file BrayT.hpp. References bray_t. |
|
|
|
Definition at line 156 of file BrayT.hpp. References bray_t. |
|
Definition at line 148 of file BrayT.hpp. References bray_t. |
|
Definition at line 152 of file BrayT.hpp. References bray_t. |
|
Definition at line 160 of file BrayT.hpp. References bray_t. |
|
Definition at line 101 of file BrayT.hpp. References bray_t. |
|
Definition at line 89 of file BrayT.hpp. References bray_t. |
|
Definition at line 178 of file BrayT.hpp. References bray_t. |
|
Definition at line 196 of file BrayT.hpp. References bray_t. |
|
Definition at line 43 of file BrayT.hpp. References AssertFatal. |
|
Definition at line 48 of file BrayT.hpp. References AssertFatal. |
|
Definition at line 54 of file BrayT.hpp. References bray_t. |
|
Definition at line 200 of file BrayT.hpp. References bray_t. |
|
Definition at line 187 of file BrayT.hpp. References bray_t. |
|
Definition at line 62 of file BrayT.hpp. References bray_t. |
|
Definition at line 115 of file BrayT.hpp. References bray_t. |
|
Definition at line 105 of file BrayT.hpp. References bray_t. |
|
Definition at line 110 of file BrayT.hpp. References bray_t. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:30 2007 by Doxygen version 1.3.9.1.