Closed Derpius closed 3 years ago
Describe the bug MeshVertex structs may not have normals stored in them, this currently would set the normal to Vector(0)
MeshVertex
Vector(0)
Expected behaviour A geometric normal would be calculated using the 3 points on the tri and the winding order
Additional context https://wiki.facepunch.com/gmod/Structures/MeshVertex
Fixed in 1754db7ef3f3a72083e0f23b5523f3383eb7ef92
Describe the bug
MeshVertex
structs may not have normals stored in them, this currently would set the normal toVector(0)
Expected behaviour A geometric normal would be calculated using the 3 points on the tri and the winding order
Additional context https://wiki.facepunch.com/gmod/Structures/MeshVertex