Tagged Questions
1
vote
2answers
1k views
Calculating the 2D edge normals of a triangle
What's a reliable way to calculate a 2D normal vector for each edge of a triangle, so that each normal is pointing outwards from the triangle?
To clarify, given any triangle - for each edge (e.g ...
7
votes
6answers
778 views
Does one need normals for a strictly 2d Game?
I'm starting to learn OpenGL by creating a pure 2D game.
I have to decide on the format of the Vertices. Do I need a normal component? Or is this for a 2d component not needed?
My gut feeling says I ...