Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.BoundingSphereD.RandomToUniformPointInSphere

Morten Aune Lyrstad edited this page Feb 3, 2022 · 2 revisions

IndexNamespace IndexBoundingSphereD

Summary

public Vector3D RandomToUniformPointInSphere(double ranX, double ranY, double ranZ)

If ranX, ranY, ranZ are uniformly distributed across ranges <0,1>, Resulting point will be uniformly distributed inside sphere

Returns

Vector3D

Parameters

Clone this wiki locally