Commit cf24c777 authored by Jan Möbius's avatar Jan Möbius

Fixed some uninitialized variables

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13359 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8b9e85a0
......@@ -245,27 +245,6 @@ int PrimitivesGeneratorPlugin::addTriangulatedCube() {
//========================================================================
void PrimitivesGeneratorPlugin::addSphereTriangle(int sl0, int st0, int sl1, int st1, int sl2, int st2)
{
ACG::Vec2f tex[3];
tex[0] = texCoordOnSphere(sl0, st0);
tex[1] = texCoordOnSphere(sl1, st1);
tex[2] = texCoordOnSphere(sl2, st2);
// std::vector<TriMesh::VertexHandle> vhandles;
//
// vhandles.push_back(vhandles_[_vh1]);
// vhandles.push_back(vhandles_[_vh2]);
// vhandles.push_back(vhandles_[_vh3]);
//
// triMesh_->add_face(vhandles);
//addTriangleToVBO(p, n, tex);
}
//------------------------------------------------------------------------
ACG::Vec3d PrimitivesGeneratorPlugin::positionOnSphere(int _sliceNumber, int _stackNumber)
{
ACG::Vec3d position;
......
......@@ -115,8 +115,6 @@ private:
inline void add_face( int _vh1 , int _vh2, int _vh3, int _vh4 , int _vh5 );
void addSphereTriangle(int sl0, int st0, int sl1, int st1, int sl2, int st2);
inline ACG::Vec3d positionOnSphere(int _sliceNumber, int _stackNumber);
inline ACG::Vec2f texCoordOnSphere(int _sliceNumber, int _stackNumber);
......
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