MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / svrand

Function svrand

cpp/5_Domain_Specific/smokeParticles/ParticleSystem.cpp:166–166  ·  view source on GitHub ↗

random signed vector

Source from the content-addressed store, hash-verified

164
165// random signed vector
166inline vec3f svrand() { return vec3f(sfrand(), sfrand(), sfrand()); }
167
168// random point in circle
169inline vec2f randCircle()

Callers 3

randSphereFunction · 0.85
initGridMethod · 0.85
initCubeRandomMethod · 0.85

Calls 1

sfrandFunction · 0.85

Tested by

no test coverage detected