Skip to content

ludus::foundation::math::Affine2

Ludus Wiki · API overview · Browse API

Struct

Declared in modules/foundation/math/include/ludus/foundation/math/transform.hpp

#include <ludus/foundation/math/transform.hpp>
struct ludus::foundation::math::Affine2

Fields

Columns

Vector2 ludus::foundation::math::Affine2::Columns[2][2] = {Vector2{1, 0}, Vector2{0, 1}}
linear block L

Related types: Vector2

Declared in modules/foundation/math/include/ludus/foundation/math/transform.hpp

Translation

Vector2 ludus::foundation::math::Affine2::Translation = {0, 0}

Related types: Vector2

Declared in modules/foundation/math/include/ludus/foundation/math/transform.hpp

Static methods

Identity

static constexpr Affine2 ludus::foundation::math::Affine2::Identity() noexcept

Related types: Affine2

Declared in modules/foundation/math/include/ludus/foundation/math/transform.hpp

Members

operator==

constexpr bool operator==(const Affine2 &, const Affine2 &)=default

Related types: Affine2

Declared in modules/foundation/math/include/ludus/foundation/math/transform.hpp