Stowy Physics Engine 0.1.0
Loading...
Searching...
No Matches
stw::Transform Struct Reference

A transform of an object. Contains position, scale and rotation. More...

#include <Transform.hpp>

Collaboration diagram for stw::Transform:

Public Attributes

Vector2 position {}
 The position of this object.
 
Vector2 scale {1, 1}
 The scale of this object.
 
float rotation {}
 The rotation of this object.
 

Detailed Description

A transform of an object. Contains position, scale and rotation.

Member Data Documentation

◆ position

Vector2 stw::Transform::position {}

The position of this object.

◆ rotation

float stw::Transform::rotation {}

The rotation of this object.

◆ scale

Vector2 stw::Transform::scale {1, 1}

The scale of this object.


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