High-performance software-based 3D rendering with native hardware acceleration.
Initializes a new 3D scene and returns its ID.
Sets the camera position and rotation.
Adds a cube to the scene and returns its Mesh ID.
Moves a mesh in 3D space.
Renders the scene to the current window buffer.
Performs a raycast in the 3D world.
- Example:
const (hit, dist) = Engine3D.raycast(s, 0,0,0, 0,1,0, 100);