Browse Source

Remove obsolete property heightfield_tex

wolfgangp 9 years ago
parent
commit
821e625c4f
2 changed files with 0 additions and 14 deletions
  1. 0 11
      panda/src/grutil/shaderTerrainMesh.I
  2. 0 3
      panda/src/grutil/shaderTerrainMesh.h

+ 0 - 11
panda/src/grutil/shaderTerrainMesh.I

@@ -145,17 +145,6 @@ INLINE bool ShaderTerrainMesh::get_update_enabled() const {
   return _update_enabled;
 }
 
-/**
- * @brief Returns a handle to the heightfield texture
- * @details This returns a handle to the internally used heightfield texture. This
- *   can be used to set the heightfield as a shader input.
- *
- * @return Handle to the heightfield texture
- */
-INLINE Texture* ShaderTerrainMesh::get_heightfield_tex() const {
-  return _heightfield_tex;
-}
-
 /**
  * @brief Clears all children
  * @details This clears all children on the chunk and sets them to NULL. This will

+ 0 - 3
panda/src/grutil/shaderTerrainMesh.h

@@ -75,9 +75,6 @@ PUBLISHED:
   INLINE PN_stdfloat get_target_triangle_width() const;
   MAKE_PROPERTY(target_triangle_width, get_target_triangle_width, set_target_triangle_width);
 
-  INLINE Texture* get_heightfield_tex() const;
-  MAKE_PROPERTY(heightfield_tex, get_heightfield_tex);
-
   LPoint3 uv_to_world(const LTexCoord& coord) const;
   INLINE LPoint3 uv_to_world(PN_stdfloat u, PN_stdfloat v) const;