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

One vertex in a GL solid triangle batch (world-space, 9 floats). More...

#include <bgi_types.h>

Data Fields

float b
 linear RGB colour (0–1)
 
float g
 
float nx
 
float ny
 
float nz
 world-space normal (face or smooth)
 
float px
 
float py
 
float pz
 world-space position
 
float r
 

Detailed Description

One vertex in a GL solid triangle batch (world-space, 9 floats).

Field Documentation

◆ b

float bgi::GlVertex::b

linear RGB colour (0–1)

◆ g

float bgi::GlVertex::g

◆ nx

float bgi::GlVertex::nx

◆ ny

float bgi::GlVertex::ny

◆ nz

float bgi::GlVertex::nz

world-space normal (face or smooth)

◆ px

float bgi::GlVertex::px

◆ py

float bgi::GlVertex::py

◆ pz

float bgi::GlVertex::pz

world-space position

◆ r

float bgi::GlVertex::r

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