From: havoc Date: Thu, 4 Jan 2007 21:25:05 +0000 (+0000) Subject: corrected comment on savings of the optimized skeletal cases X-Git-Tag: xonotic-v0.1.0preview~3724 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bc05b42327d3e9e8d152f925f7895e3c88014232;p=xonotic%2Fdarkplaces.git corrected comment on savings of the optimized skeletal cases git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6680 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_alias.c b/model_alias.c index ee308410..03be060d 100644 --- a/model_alias.c +++ b/model_alias.c @@ -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;