Home
last modified time | relevance | path

Searched refs:TORUS_MAJOR (Results 1 – 1 of 1) sorted by relevance

/third_party/flutter/glfw/examples/
Dsplitview.c53 #define TORUS_MAJOR 1.5 macro
83 …x = (TORUS_MAJOR + TORUS_MINOR * cos(s * twopi / TORUS_MINOR_RES)) * cos(t * twopi / TORUS_MAJOR_R… in drawTorus()
85 …z = (TORUS_MAJOR + TORUS_MINOR * cos(s * twopi / TORUS_MINOR_RES)) * sin(t * twopi / TORUS_MAJOR_R… in drawTorus()
88 nx = x - TORUS_MAJOR * cos(t * twopi / TORUS_MAJOR_RES); in drawTorus()
90 nz = z - TORUS_MAJOR * sin(t * twopi / TORUS_MAJOR_RES); in drawTorus()