Removed the usage of assert to prevent associated compile warnings and to clean up code

This commit is contained in:
Robert Osfield
2009-01-06 19:09:50 +00:00
parent 5bf69c9cbb
commit 8745ec7d69
9 changed files with 14 additions and 28 deletions

View File

@@ -20,7 +20,6 @@
#include <map>
#include <string>
#include <algorithm>
#include <osgAnimation/Assert>
#include <osgAnimation/VertexInfluence>
#include <osgAnimation/Bone>
#include <osg/Matrix>
@@ -163,7 +162,6 @@ namespace osgAnimation
template <class V> void compute(const V* src, V* dst)
{
OSGANIMATION_ASSERT(src != dst);
int size = _boneSetVertexSet.size();
for (int i = 0; i < size; i++)
{
@@ -183,7 +181,6 @@ namespace osgAnimation
template <class V> void compute(const MatrixType& transform, const MatrixType& invTransform, const V* src, V* dst)
{
OSGANIMATION_ASSERT(src != dst);
int size = _boneSetVertexSet.size();
for (int i = 0; i < size; i++)
{