Declares the Camera template class for managing camera behavior and pixel groups.
Defines the Node class for quadtree spatial partitioning in 2D space.
Defines the QuadTree class for spatial partitioning in 2D space.
Defines the Quaternion class for 3D rotations and transformations.
Defines the Scene class for managing objects and effects in a 3D environment.
Defines the Triangle2D class for representing and manipulating 2D triangles.
Base class for managing camera properties and transformations.
A mathematical construct representing a rotation in 3D space.
Represents an RGB color and provides methods for manipulation.
Provides static methods for rasterizing 3D scenes into 2D camera views.
static void Rasterize(Scene *scene, CameraBase *camera)
Rasterizes a 3D scene onto a 2D camera view.
static RGBColor CheckRasterPixel(Triangle2D **triangles, int numTriangles, Vector2D pixelRay)
Determines the color of a pixel by checking which triangle it intersects.
static RGBColor CheckRasterPixelAccel(Triangle2D **triangles, int numTriangles, Vector2D pixelRay)
Optimized version of CheckRasterPixel using acceleration structures.
static Quaternion rayDirection
Direction of the ray cast for rasterization.
Manages a collection of 3D objects and applies optional screen-space effects.
Represents a 2D triangle with support for UV mapping, depth, and intersection testing.
Represents a 2D vector (X, Y) and provides methods for vector arithmetic.