Class color

Inheritance Relationships

Base Type

  • public vec4

Class Documentation

class legion::core::math::color : public vec4

Color oriented wrapper around vec4. legion::core::math::vec4.

Public Functions

inline color(const vec4 &s)
inline color(vec4 &&s)
inline color(float r, float g, float b, float a = 1.f)
color() = default
inline bool operator==(const color &other) const
inline bool operator==(const vec4 &other) const