#include <mod128.h>
Definition at line 29 of file mod128.h.
| DIR128::DIR128 |
( |
int16_t |
value | ) |
|
|
inline |
Definition at line 34 of file mod128.h.
39 dir =
static_cast<int8_t
>(value);
| DIR128::DIR128 |
( |
const FCOORD |
fc | ) |
|
Definition at line 64 of file mod128.cpp.
67 int high, low, current;
79 current = (high + low) / 2;
80 if (dirtab[current] * fc >= 0)
85 while (high - low > 1);
| int8_t DIR128::get_dir |
( |
| ) |
const |
|
inline |
Definition at line 63 of file mod128.h.
68 result = dir + add.dir;
Definition at line 71 of file mod128.h.
73 *
this = dir + add.dir;
| int8_t DIR128::operator- |
( |
const DIR128 & |
minus | ) |
const |
|
inline |
Definition at line 51 of file mod128.h.
55 int16_t result = dir - minus.dir;
61 return static_cast<int8_t
>(result);
| DIR128& DIR128::operator= |
( |
int16_t |
value | ) |
|
|
inline |
Definition at line 43 of file mod128.h.
48 dir =
static_cast<int8_t
>(value);
The documentation for this class was generated from the following files: