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

Homogenous 3D coordinates. More...

#include <math.h>

Public Attributes

union {
   struct {
      float   x
 
      float   y
 
      float   z
 
      float   w
 
   } 
 
   float   p [4]
 
}; 
 

Detailed Description

Homogenous 3D coordinates.

A 4-element structure used to represent 3D coordinate space with 3 cartesian coordinates and a homogeouns 4th coordinate for projection.


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