Commit 45db73ba authored by Christopher Tenter's avatar Christopher Tenter
Browse files

correct uv coords for cones

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13061 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8186e6b5
...@@ -359,7 +359,7 @@ ACG::Vec2f GLCone::texCoordOnCone(int _sliceNumber, int _stackNumber) ...@@ -359,7 +359,7 @@ ACG::Vec2f GLCone::texCoordOnCone(int _sliceNumber, int _stackNumber)
ACG::Vec2f texCoord; ACG::Vec2f texCoord;
texCoord[0] = _sliceNumber / (double) slices_; texCoord[0] = _sliceNumber / (double) slices_;
texCoord[1] = _sliceNumber / (double) stacks_; texCoord[1] = _stackNumber / (double) stacks_;
return texCoord; return texCoord;
} }
......
Supports Markdown
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