Home
last modified time | relevance | path

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

/third_party/glfw/examples/
H A Dparticles.c247 float xy_angle, velocity; in init_particle() local
258 xy_angle = (2.f * (float) M_PI / 4096.f) * (float) (rand() & 4095); in init_particle()
259 p->vx = 0.4f * (float) cos(xy_angle); in init_particle()
260 p->vy = 0.4f * (float) sin(xy_angle); in init_particle()

Completed in 2 milliseconds