Closed lonkaars closed 4 years ago
Progress on this issue:
Total time spent on this: 12h27m
I'll add more items to this checklist if necessary
@amieleg I need a draw loop in order to implement the above in c++. Here's how it's done in js: https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame
Waiting for mainloop-window merge to dev for 3d-projector-cpp merge to dev, then dev to master
Add a method to the object class that projects the 3D vertices to 2D screen coordinates. This method should be defined in scene.cpp and should return an
std::vector<std::array<Position2D, 3>>
with the vector length being the same asobject.vertices.size()
.