Lines Matching defs:r2
177 static void superShapeMap(VECTOR3 *point, float r1, float r2, float t, float p)
180 point->x = (float)(cos(t) * cos(p) / r1 / r2);
181 point->y = (float)(sin(t) * cos(p) / r1 / r2);
182 point->z = (float)(sin(p) / r2);
234 float r0, r1, r2, r3;
238 r2 = ssFunc(t2, params);
241 if (r0 != 0 && r1 != 0 && r2 != 0 && r3 != 0)
250 superShapeMap(&pb, r2, r1, t2, p1);
251 superShapeMap(&pc, r2, r3, t2, p2);
333 } // r0 && r1 && r2 && r3