Optimizing draw function for texured triangle

https://github.com/asdru22/3D-Graphics/blob/rasterization/src/main/java/geom/Triangle.java
My current implementation basically implements a rasterization algorithm from scratch, which isn't very efficent. But i don't know how i would otherwise make a triangles texture rotate with it
GitHub
Contribute to asdru22/3D-Graphics development by creating an account on GitHub.
3D-Graphics/src/main/java/geom/Triangle.java at rasterization · asd...
Was this page helpful?