|
From: Daniel J S. <dan...@ie...> - 2005-08-16 18:59:47
|
Ga=EBl,
For your povray terminal, what is the value of axis_array[axis].term_lowe=
r? Perhaps on other terminals these are large values (i.e., the terminal=
axis has a noticable offset compared to its base coordinate system) and =
the int/unsigned issue becomes a non-issue.
#define AXIS_MAP(axis, variable) \
(int) ((axis_array[axis].term_lower) \
+ ((variable) - axis_array[axis].min) \
* axis_array[axis].term_scale + 0.5)
Dan
|