Notices where this attachment appears
-
@MoeBritannica @bleedingphoenix
@MoeBritannica @bleedingphoenix
>Rotating
Everything I've written is for, static, axial aligned cubes xD
I'm not even sure HOW to rotate the vertexes for a cube around the center point for the cube.
(searching...)
vertex_rotated = (v0 - v_pivot).rotate(v_axisY,degreesX).rotate.(v_axisX,degreesY) + v_pivot
:D
Spawning 2500 blocks, initiating 2 axis rotation every frame, computing in main thread, and... (attached video) 24 FPS, it is the same lol.