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 angular_velocity { 0.0F }
 
float angular_acceleration { 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.

◆ angular_acceleration

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

Definition at line 34 of file game.h.

◆ angular_velocity

float asw::game::Physics::angular_velocity { 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: