czaloj / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

add isZero method to btVector3 #145

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
an isZero method should be added to btVector3 for convenience

SIMD_FORCE_INLINE bool isZero() const 
{
    return m_x == 0 && m_y == 0 && m_z == 0;
}

Original issue reported on code.google.com by jazztick...@gmail.com on 18 Nov 2008 at 11:01

GoogleCodeExporter commented 9 years ago

Original comment by erwin.coumans on 3 Jun 2009 at 6:23

GoogleCodeExporter commented 9 years ago

Thanks for the suggestion, it has been added now:
http://code.google.com/p/bullet/source/detail?r=1862

Original comment by erwin.coumans on 21 Dec 2009 at 11:13