Skip to content

Struct Engine::Rotation

ClassList > Engine > Rotation

Component representing a 2D rotation.

  • #include <Rotation.hpp>

Public Attributes

Type Name
float angle = 0.0f
Rotation angle in degrees.

Public Static Functions

Type Name
Rotation Create (float angle=0.0f)

Public Attributes Documentation

variable angle

Rotation angle in degrees.

float Engine::Rotation::angle;


Public Static Functions Documentation

function Create

static inline Rotation Engine::Rotation::Create (
    float angle=0.0f
) 


The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Components/Rotation.hpp