altEngine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Variables
isosphere.cpp File Reference
#include "isosphere.h"
#include "stb_image.h"
Include dependency graph for isosphere.cpp:

Variables

float X = 0.525731112119133606f
 
float Z = 0.850650808352039932f
 
float N = 0.0f
 
const vec3 vdata [12]
 
const int vindex [60]
 

Variable Documentation

float N = 0.0f
const vec3 vdata[12]
Initial value:
= {
{ -X,N,Z },{ X,N,Z },{ -X,N,-Z },{ X,N,-Z },
{ N,Z,X },{ N,Z,-X },{ N,-Z,X },{ N,-Z,-X },
{ Z,X,N },{ -Z,X, N },{ Z,-X,N },{ -Z,-X, N }
}
const int vindex[60]
Initial value:
= {
0,4,1, 0,9,4, 9,5,4, 4,5,8, 4,8,1,
8,10,1, 8,3,10, 5,3,8, 5,2,3, 2,7,3,
7,10,3, 7,6,10, 7,11,6, 11,0,6, 0,1,6,
6,1,10, 9,0,11, 9,11,2, 9,2,5, 7,2,11
}
float X = 0.525731112119133606f
float Z = 0.850650808352039932f