|
@@ -5485,19 +5485,6 @@ make_geom_munger(const RenderState *state, Thread *current_thread) {
|
|
|
return GeomMunger::register_munger(munger, current_thread);
|
|
return GeomMunger::register_munger(munger, current_thread);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-////////////////////////////////////////////////////////////////////
|
|
|
|
|
-// Function: GLGraphicsStateGuardian::compute_distance_to
|
|
|
|
|
-// Access: Public, Virtual
|
|
|
|
|
-// Description: This function will compute the distance to the
|
|
|
|
|
-// indicated point, assumed to be in eye coordinates,
|
|
|
|
|
-// from the camera plane. The point is assumed to be
|
|
|
|
|
-// in the GSG's internal coordinate system.
|
|
|
|
|
-////////////////////////////////////////////////////////////////////
|
|
|
|
|
-PN_stdfloat CLP(GraphicsStateGuardian)::
|
|
|
|
|
-compute_distance_to(const LPoint3 &point) const {
|
|
|
|
|
- return -point[2];
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: GLGraphicsStateGuardian::framebuffer_copy_to_texture
|
|
// Function: GLGraphicsStateGuardian::framebuffer_copy_to_texture
|
|
|
// Access: Public, Virtual
|
|
// Access: Public, Virtual
|