瀏覽代碼

Remove dead code.

Kim Kulling 9 年之前
父節點
當前提交
599e846f57
共有 1 個文件被更改,包括 0 次插入5 次删除
  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
 inline PointP2T& BlenderTessellatorP2T::GetActualPointStructure( p2t::Point& point ) const
 {
 {
     unsigned int pointOffset = offsetof( PointP2T, point2D );
     unsigned int pointOffset = offsetof( PointP2T, point2D );