resonance 1.0.1
Loading...
Searching...
No Matches
Vector2 Struct Reference

Two-component vector, used for texture coordinates. More...

#include <vector2.h>

Public Attributes

float x
float y

Detailed Description

Two-component vector, used for texture coordinates.

The class is not polymorphic and emits no RTTI descriptor. A mesh vertex stores two vectors back to back at its end, and the binary loads and writes exactly two floats for each. The type is therefore not padded to a quadword.

Member Data Documentation

◆ x

float Vector2::x

◆ y

float Vector2::y

The documentation for this struct was generated from the following file: