A material class that applies a single RGB color to all surfaces.
Represents an RGB color and provides methods for manipulation.
RGBColor HueShift(const float &hueDeg)
Shifts the hue of the color by a specified angle in degrees.
RGBColor baseRGB
The base RGB color used for reference during hue shifts.
void SetRGB(RGBColor rgb)
Sets a new RGB color for the material.
void HueShift(float hueDeg)
Adjusts the hue of the material's color.
RGBColor rgb
The active RGB color applied to the surface.
SimpleMaterial(RGBColor rgb)
Constructs a SimpleMaterial with a specified RGB color.
RGBColor GetRGB(const Vector3D &position, const Vector3D &normal, const Vector3D &uvw) override
Retrieves the RGB color for a surface.
Represents a 3D vector (X, Y, Z) and provides methods for vector arithmetic.