Re: [Crystal-cvs] SF.net SVN: crystal:[39321] CS/trunk/include/ivaria/physics.h

res <[email protected]> Sun, 19 May 2013 04:40:48 +0200
Newsgroups gmane.comp.graphics.crystalspace.devel
Message-ID <[email protected]>
On 17.05.2013 18:06, [email protected] wrote:
> +      normals[i] = cloth->GetVertexNormal (i);
> +      normals[i + vertexCount] = cloth->GetVertexNormal (i);
> +      normals[i] = csVector3 (0.f, 0.f, 1.f);
> +      normals[i + vertexCount] = csVector3 (0.f, 0.f, 1.f);

So ‘normals’ are fetched from the “cloth” object…
…and are immediately overwritten by hardcoded values.

I guess the 2nd assignment was left in accidentally?

-f.r.

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d

_______________________________________________
Crystal-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-develop
signature.asc (application/pgp-signature, 263 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlGYO7AACgkQNCTzcE/07ewSgACfYZqNTmuQsxYY6IRei/i4H65o
7noAn1tEmdUCwKgd5U/RdgknRI0Jud8U
=xrKG
-----END PGP SIGNATURE-----