mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 07:28:59 +02:00
- updated patch from willvarfar for animated models in particles
This commit is contained in:
@@ -73,6 +73,9 @@ void InterpolationData::update(float t, bool cycle){
|
||||
}
|
||||
|
||||
void InterpolationData::updateVertices(float t, bool cycle) {
|
||||
if(t <0.0f || t>1.0f) {
|
||||
printf("ERROR t = [%f] for cycle [%d] f [%d] v [%d]\n",t,cycle,mesh->getFrameCount(),mesh->getVertexCount());
|
||||
}
|
||||
assert(t>=0.0f && t<=1.0f);
|
||||
|
||||
uint32 frameCount= mesh->getFrameCount();
|
||||
|
Reference in New Issue
Block a user