Home
last modified time | relevance | path

Searched refs:teeth (Results 1 - 2 of 2) sorted by relevance

/third_party/glfw/examples/
H A Dgears.c45 outer_radius - radius at center of teeth
46 width - width of gear teeth - number of teeth
53 GLint teeth, GLfloat tooth_depth) in gear()
64 da = 2.f * (float) M_PI / teeth / 4.f; in gear()
72 for (i = 0; i <= teeth; i++) { in gear()
73 angle = i * 2.f * (float) M_PI / teeth; in gear()
76 if (i < teeth) { in gear()
83 /* draw front sides of teeth */ in gear()
85 da = 2.f * (float) M_PI / teeth / in gear()
52 gear(GLfloat inner_radius, GLfloat outer_radius, GLfloat width, GLint teeth, GLfloat tooth_depth) gear() argument
[all...]
/third_party/skia/gm/
H A Dpathfill.cpp72 static PathDY make_sawtooth(int teeth) { in make_sawtooth() argument
81 for (int i = 0; i < teeth; i++) { in make_sawtooth()

Completed in 2 milliseconds