mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
renamed the Windows reserved names "near" and "far" to "input_near" and "input_far"
This commit is contained in:
parent
9f5c9886c4
commit
20225878a6
@ -305,10 +305,10 @@ set_factor(float factor) {
|
||||
// Description: Sets the near and far LOD distances in one call.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE void GeoMipTerrain::
|
||||
set_near_far(double near, double far) {
|
||||
set_near_far(double input_near, double input_far) {
|
||||
_use_near_far = true;
|
||||
_near = near;
|
||||
_far = far;
|
||||
_near = input_near;
|
||||
_far = input_far;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
@ -319,9 +319,9 @@ set_near_far(double near, double far) {
|
||||
// This distance is in the terrain's coordinate space!
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE void GeoMipTerrain::
|
||||
set_near(double near) {
|
||||
set_near(double input_near) {
|
||||
_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!
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE void GeoMipTerrain::
|
||||
set_far(double far) {
|
||||
set_far(double input_far) {
|
||||
_use_near_far = true;
|
||||
_far = far;
|
||||
_far = input_far;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user