Gondwana Game Engine
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop, mobile, and web platforms using SkiaSharp for graphics and NAudio for sound.
Loading...
Searching...
No Matches
Gondwana.Collision.Aabb Struct Reference

Represents an axis-aligned bounding box (AABB) defined by its minimum and maximum coordinates along the X and Y axes. This is the collision area of a Gondwana.Drawing.Tile.". More...

Public Member Functions

 Aabb (float minX, float minY, float maxX, float maxY)
bool Intersects (in Aabb other)
Rectangle ToRectangle ()

Static Public Member Functions

static Aabb FromRectangle (Rectangle r)
static Aabb FromRectangleF (RectangleF r)

Properties

float MinX [get]
float MinY [get]
float MaxX [get]
float MaxY [get]
float Width [get]
float Height [get]
PointF Center [get]

Detailed Description

Represents an axis-aligned bounding box (AABB) defined by its minimum and maximum coordinates along the X and Y axes. This is the collision area of a Gondwana.Drawing.Tile.".

Constructor & Destructor Documentation

◆ Aabb()

Gondwana.Collision.Aabb.Aabb ( float minX,
float minY,
float maxX,
float maxY )

Member Function Documentation

◆ FromRectangle()

Aabb Gondwana.Collision.Aabb.FromRectangle ( Rectangle r)
static

◆ FromRectangleF()

Aabb Gondwana.Collision.Aabb.FromRectangleF ( RectangleF r)
static

◆ Intersects()

bool Gondwana.Collision.Aabb.Intersects ( in Aabb other)

◆ ToRectangle()

Rectangle Gondwana.Collision.Aabb.ToRectangle ( )

Property Documentation

◆ Center

PointF Gondwana.Collision.Aabb.Center
get

◆ Height

float Gondwana.Collision.Aabb.Height
get

◆ MaxX

float Gondwana.Collision.Aabb.MaxX
get

◆ MaxY

float Gondwana.Collision.Aabb.MaxY
get

◆ MinX

float Gondwana.Collision.Aabb.MinX
get

◆ MinY

float Gondwana.Collision.Aabb.MinY
get

◆ Width

float Gondwana.Collision.Aabb.Width
get