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
geometry.h File Reference

Common geometry types. More...

#include <cmath>
Include dependency graph for geometry.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  asw::Vec2< T >
 A 2D vector in space. More...
 
class  asw::Vec3< T >
 A 3D vector in space. More...
 
class  asw::Quad< T >
 A 2D rectangle in space. More...
 

Namespaces

namespace  asw
 

Typedefs

using asw::Vec2f = Vec2<float>
 Type aliases for common vector and rectangle types.
 
using asw::Vec2i = Vec2<int>
 
using asw::Vec3f = Vec3<float>
 
using asw::Vec3i = Vec3<int>
 
using asw::Quadf = Quad<float>
 
using asw::Quadi = Quad<int>
 

Detailed Description

Common geometry types.

Author
Allan Legemaate (alege.nosp@m.maat.nosp@m.e@gma.nosp@m.il.c.nosp@m.om)
Date
2025-03-26

Definition in file geometry.h.