OrbitEngine::Math::UV struct

Describes the uv coordinates of a single quad.

Constructors, destructors, conversion operators

UV()
UV(const float u0, const float v0, const float u1, const float v1)
UV(const Vec2f& _1, const Vec2f& _2, const Vec2f& _3, const Vec2f& _4)

Public functions

auto getUV(int pos) const -> Vec2f
Get UV coordinates by index.

Public variables

Vec2f _1
Vec2f _2
Vec2f _3
Vec2f _4