renamed the Windows reserved names "near" and "far" to "input_near" and "input_far"

This commit is contained in:
Chris Brunner 2008-09-22 21:38:16 +00:00
parent 9f5c9886c4
commit 20225878a6

View File

@ -305,10 +305,10 @@ set_factor(float factor) {
// Description: Sets the near and far LOD distances in one call. // Description: Sets the near and far LOD distances in one call.
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
INLINE void GeoMipTerrain:: INLINE void GeoMipTerrain::
set_near_far(double near, double far) { set_near_far(double input_near, double input_far) {
_use_near_far = true; _use_near_far = true;
_near = near; _near = input_near;
_far = far; _far = input_far;
} }
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
@ -319,9 +319,9 @@ set_near_far(double near, double far) {
// This distance is in the terrain's coordinate space! // This distance is in the terrain's coordinate space!
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
INLINE void GeoMipTerrain:: INLINE void GeoMipTerrain::
set_near(double near) { set_near(double input_near) {
_use_near_far = true; _use_near_far = true;
_near = near; _near = input_near;
} }
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
@ -332,9 +332,9 @@ set_near(double near) {
// This distance is in the terrain's coordinate space! // This distance is in the terrain's coordinate space!
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
INLINE void GeoMipTerrain:: INLINE void GeoMipTerrain::
set_far(double far) { set_far(double input_far) {
_use_near_far = true; _use_near_far = true;
_far = far; _far = input_far;
} }
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////