Remove dead code.

pull/941/head
Kim Kulling 2016-07-08 18:31:19 +02:00
parent 070fb3363f
commit 599e846f57
1 changed files with 0 additions and 5 deletions

View File

@ -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 );