fix some normals
authorKahrl <kahrl@gmx.net>
Mon, 19 Sep 2011 15:11:53 +0000 (17:11 +0200)
committerKahrl <kahrl@gmx.net>
Mon, 19 Sep 2011 15:11:53 +0000 (17:11 +0200)
src/camera.cpp

index c5c40f5c5880c644900fcf4f130f86993f706253..7f5931bddae10ed16091d99f09503f2f019dc629 100644 (file)
@@ -748,10 +748,10 @@ scene::IMesh* ExtrudedSpriteSceneNode::createCubeMesh()
                video::S3DVertex(-0.5,+0.5,+0.5, -1,0,0, c, 0,0),
                video::S3DVertex(-0.5,+0.5,-0.5, -1,0,0, c, 1,0),
                // Back
-               video::S3DVertex(-0.5,-0.5,+0.5, 0,0,-1, c, 1,1),
-               video::S3DVertex(+0.5,-0.5,+0.5, 0,0,-1, c, 0,1),
-               video::S3DVertex(+0.5,+0.5,+0.5, 0,0,-1, c, 0,0),
-               video::S3DVertex(-0.5,+0.5,+0.5, 0,0,-1, c, 1,0),
+               video::S3DVertex(-0.5,-0.5,+0.5, 0,0,1, c, 1,1),
+               video::S3DVertex(+0.5,-0.5,+0.5, 0,0,1, c, 0,1),
+               video::S3DVertex(+0.5,+0.5,+0.5, 0,0,1, c, 0,0),
+               video::S3DVertex(-0.5,+0.5,+0.5, 0,0,1, c, 1,0),
                // Front
                video::S3DVertex(-0.5,-0.5,-0.5, 0,0,-1, c, 0,1),
                video::S3DVertex(-0.5,+0.5,-0.5, 0,0,-1, c, 0,0),