ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
Loading...
Searching...
No Matches
asw::game::Physics Class Reference

Physics Component. More...

#include <game.h>

Collaboration diagram for asw::game::Physics:
[legend]

Public Attributes

asw::Vec2< float > velocity
 
asw::Vec2< float > acceleration
 
float angularVelocity {0.0F}
 
float angularAcceleration {0.0F}
 

Detailed Description

Physics Component.

Components

Definition at line 25 of file game.h.

Member Data Documentation

◆ acceleration

asw::Vec2<float> asw::game::Physics::acceleration

Definition at line 30 of file game.h.

◆ angularAcceleration

float asw::game::Physics::angularAcceleration {0.0F}

Definition at line 34 of file game.h.

◆ angularVelocity

float asw::game::Physics::angularVelocity {0.0F}

Definition at line 32 of file game.h.

◆ velocity

asw::Vec2<float> asw::game::Physics::velocity

Definition at line 28 of file game.h.


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