]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
corrected comment on savings of the optimized skeletal cases
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 4 Jan 2007 21:25:05 +0000 (21:25 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 4 Jan 2007 21:25:05 +0000 (21:25 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6680 d7cf8633-e32d-0410-b094-e92efae38249

model_alias.c

index ee3084106c4176db04bade334c33f7eb308911f1..03be060d548c522025f05cb05fb8b0af60217bc2 100644 (file)
@@ -80,7 +80,7 @@ void Mod_Alias_GetMesh_Vertices(const model_t *model, const frameblend_t *frameb
                        R_ConcatTransforms(bonepose[i], model->data_baseboneposeinverse + i * 12, boneposerelative[i]);
                }
                // blend the vertex bone weights
-               // special case for the extremely common wf[0] == 1 because it saves 12 adds and multiplies (w[0] is always 1 if only one bone controls this vertex, artists only use multiple bones for certain special cases)
+               // special case for the extremely common wf[0] == 1 because it saves 3 multiplies per array when compared to the other case (w[0] is always 1 if only one bone controls this vertex, artists only use multiple bones for certain special cases)
                // special case for the first bone because it avoids the need to memset the arrays before filling
                {
                        const float *v = model->surfmesh.data_vertex3f;