Commit aef37708 authored by hybrid's avatar hybrid

Fixed my typo.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1222 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 6f15d5d0
......@@ -224,7 +224,7 @@ void CMeshSceneNode::render()
for ( u32 i=0; i != mb->getVertexCount(); ++i )
{
// align to v->Normal
core::quaternion quatRot(v->Normal.X, 0.f, -up.X, 1+up.Y);
core::quaternion quatRot(v->Normal.X, 0.f, -v->Normal.X, 1+v->Normal.Y);
quatRot.normalize();
quatRot.getMatrix(m2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment