Browse Source

Remove dead code.

Kim Kulling 9 năm trước cách đây
mục cha
commit
599e846f57
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      code/BlenderTessellator.cpp

+ 0 - 5
code/BlenderTessellator.cpp

@@ -374,11 +374,6 @@ void BlenderTessellatorP2T::ReferencePoints( std::vector< Blender::PointP2T >& p
 }
 
 // ------------------------------------------------------------------------------------------------
-// Yes this is filthy... but we have no choice
-/*#define OffsetOf( Class, Member ) ( static_cast< unsigned int >( \
-    reinterpret_cast<uint8_t*>(&( reinterpret_cast< Class* >( NULL )->*( &Class::Member ) )) - \
-    static_cast<uint8_t*>(NULL) ) )
-    */
 inline PointP2T& BlenderTessellatorP2T::GetActualPointStructure( p2t::Point& point ) const
 {
     unsigned int pointOffset = offsetof( PointP2T, point2D );