Macros | Variables
icosphere.cpp File Reference
#include "icosphere.h"
#include <GL/gl.h>
#include <map>
Include dependency graph for icosphere.cpp:

Go to the source code of this file.

Macros

#define X   .525731112119133606
 
#define Z   .850650808352039932
 

Variables

static GLint tindices [20][3]
 
static GLfloat vdata [12][3]
 

Macro Definition Documentation

◆ X

#define X   .525731112119133606

Definition at line 20 of file icosphere.cpp.

◆ Z

#define Z   .850650808352039932

Definition at line 21 of file icosphere.cpp.

Variable Documentation

◆ tindices

GLint tindices[20][3]
static
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} }

Definition at line 29 of file icosphere.cpp.

◆ vdata

GLfloat vdata[12][3]
static
Initial value:
= {
{-X, 0.0, Z}, {X, 0.0, Z}, {-X, 0.0, -Z}, {X, 0.0, -Z},
{0.0, Z, X}, {0.0, Z, -X}, {0.0, -Z, X}, {0.0, -Z, -X},
{Z, X, 0.0}, {-Z, X, 0.0}, {Z, -X, 0.0}, {-Z, -X, 0.0}
}
#define Z
Definition: icosphere.cpp:21
#define X
Definition: icosphere.cpp:20

Definition at line 23 of file icosphere.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:49