MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / random_point

Method random_point

ogsr_engine/xrCore/_vector3d.h:428–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426 return *this;
427 }
428 IC SelfRef random_point(const Self& BoxSize, CRandom& R = ::Random)
429 {
430 x = R.randFs(BoxSize.x);
431 y = R.randFs(BoxSize.y);
432 z = R.randFs(BoxSize.z);
433 return *this;
434 }
435 IC SelfRef random_point(T r, CRandom& R = ::Random)
436 {
437 random_dir(R);

Callers 7

switchGravityMethod · 0.80
ExplosionEffectMethod · 0.80
OnShotMethod · 0.80
ExplosionHitMethod · 0.80

Calls 2

randFsMethod · 0.80
randFMethod · 0.80

Tested by

no test coverage detected