Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

VRageMath.BoundingSphereD.RandomToUniformPointInSphereWithInnerCutout

Morten Aune Lyrstad edited this page Oct 10, 2019 · 2 revisions

IndexNamespace IndexBoundingSphereD

Summary

public Vector3D? RandomToUniformPointInSphereWithInnerCutout(double ranX, double ranY, double ranZ, double cutoutRadius)

Similar to RandomToUniformPointInSphere(...) but excludes points within distance of cutoutRadius from center. (Results are randomly distributed in the shape that remains from sphere that had another sphere cut out from center. )

Returns

Vector3D?

Parameters

Clone this wiki locally