Skip to content

Commit

Permalink
Add missing check in function for validating _cylinder instance.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kovalenko committed Oct 8, 2014
1 parent 6f0cac6 commit 8b67bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrCore/_cylinder.h
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,6 @@ typedef _cylinder<float> Fcylinder;
typedef _cylinder<double> Dcylinder;

template <class T>
BOOL _valid (const _cylinder<T>& c) { return _valid(c.m_center) && _valid(c.m_direction) && _valid(c.m_height) && _valid(c.m_height); }
BOOL _valid (const _cylinder<T>& c) { return _valid(c.m_center) && _valid(c.m_direction) && _valid(c.m_height) && _valid(c.m_radius); }

#endif // _DEBUG

0 comments on commit 8b67bb5

Please sign in to comment.