GrooveStomp's 3D Software Renderer  0.1.0
Public Attributes | List of all members
vec2 Struct Reference

Homogenous 2D coordinates. More...

#include <math.h>

Public Attributes

union {
   struct {
      float   u
 
      float   v
 
      float   w
 
   } 
 
   float   p [3]
 
}; 
 

Detailed Description

Homogenous 2D coordinates.

A 3-element structure used to represent 2D coordinate space with 2 cartesian coordinates and a homogenous 3rd coordinate for projection.


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