From bc05b42327d3e9e8d152f925f7895e3c88014232 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 4 Jan 2007 21:25:05 +0000 Subject: [PATCH] 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 --- model_alias.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2