wx_BGI_Graphics
Classic BGI-compatible graphics API with modern OpenGL extension API
Loading...
Searching...
No Matches
Data Fields
bgi::WorldExtents Struct Reference

Axis-aligned bounding box (AABB) representing the programmer's declared drawing extents in world space. More...

#include <bgi_types.h>

Data Fields

bool hasData {false}
 
float maxX {0.f}
 
float maxY {0.f}
 
float maxZ {0.f}
 
float minX {0.f}
 
float minY {0.f}
 
float minZ {0.f}
 

Detailed Description

Axis-aligned bounding box (AABB) representing the programmer's declared drawing extents in world space.

Used by wxbgi_cam_fit_to_extents() and as a reference extent for viewport calculations. hasData is false until the first call to wxbgi_set_world_extents() or wxbgi_expand_world_extents().

Field Documentation

◆ hasData

bool bgi::WorldExtents::hasData {false}

◆ maxX

float bgi::WorldExtents::maxX {0.f}

◆ maxY

float bgi::WorldExtents::maxY {0.f}

◆ maxZ

float bgi::WorldExtents::maxZ {0.f}

◆ minX

float bgi::WorldExtents::minX {0.f}

◆ minY

float bgi::WorldExtents::minY {0.f}

◆ minZ

float bgi::WorldExtents::minZ {0.f}

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