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

A named user coordinate system (UCS). More...

#include <bgi_types.h>

Data Fields

float originX {0.f}
 
float originY {0.f}
 
float originZ {0.f}
 
float xAxisX {1.f}
 
float xAxisY {0.f}
 
float xAxisZ {0.f}
 
float yAxisX {0.f}
 
float yAxisY {1.f}
 
float yAxisZ {0.f}
 
float zAxisX {0.f}
 
float zAxisY {0.f}
 
float zAxisZ {1.f}
 

Detailed Description

A named user coordinate system (UCS).

A UCS defines a local frame in world space through an origin point and three orthonormal axes. The axes must form a right-handed system.

A UCS named "world" (the identity frame) is created automatically on initwindow() / initgraph() and cannot be destroyed. Classic BGI drawing is unaffected by the UCS system.

Field Documentation

◆ originX

float bgi::CoordSystem::originX {0.f}

◆ originY

float bgi::CoordSystem::originY {0.f}

◆ originZ

float bgi::CoordSystem::originZ {0.f}

◆ xAxisX

float bgi::CoordSystem::xAxisX {1.f}

◆ xAxisY

float bgi::CoordSystem::xAxisY {0.f}

◆ xAxisZ

float bgi::CoordSystem::xAxisZ {0.f}

◆ yAxisX

float bgi::CoordSystem::yAxisX {0.f}

◆ yAxisY

float bgi::CoordSystem::yAxisY {1.f}

◆ yAxisZ

float bgi::CoordSystem::yAxisZ {0.f}

◆ zAxisX

float bgi::CoordSystem::zAxisX {0.f}

◆ zAxisY

float bgi::CoordSystem::zAxisY {0.f}

◆ zAxisZ

float bgi::CoordSystem::zAxisZ {1.f}

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