DOTS Geometry
 
Loading...
Searching...
No Matches
ShapeLocation Class Reference

Static Public Member Functions

static bool IsInsideCircle (float2 center, float radiusSq, float2 point)
 
static bool IsInsideSphere (float3 center, float radiusSq, float3 point)
 

Member Function Documentation

◆ IsInsideCircle()

static bool IsInsideCircle ( float2 center,
float radiusSq,
float2 point )
static
Parameters
center
radiusSq
point
Returns
True if the point is inside the circle, and false otherwise

◆ IsInsideSphere()

static bool IsInsideSphere ( float3 center,
float radiusSq,
float3 point )
static
Parameters
center
radiusSq
point
Returns
True if the point is inside the sphere, and false otherwise