1
Hello for first Im from Germany so excuse my bad english. I write here, because in the german forum are not so many people that can ask m.
So my teacher says I should build a cube to rotate it.
So I draw a cube on a paper and put vectors from the middle to the vertices. So now I can calculate the edges and set the points. I think I can set any point for beginning lets say 100,100 and set there a point with sf::VertexArray. Now I want to go with the vector edge and set at the end of vector arrow the other point. With that I should be able to "build" a cube.
Is this possible?
If there are any better libaries or functions to do that?
Greetings
Theroth
So my teacher says I should build a cube to rotate it.
So I draw a cube on a paper and put vectors from the middle to the vertices. So now I can calculate the edges and set the points. I think I can set any point for beginning lets say 100,100 and set there a point with sf::VertexArray. Now I want to go with the vector edge and set at the end of vector arrow the other point. With that I should be able to "build" a cube.
Is this possible?
If there are any better libaries or functions to do that?
Greetings
Theroth