Skip to content

SphereZone

class SphereZone : public Zone

A Zone built with an inner SphereShape and an outer SphereShape.

Functions

Name Description
SphereZone Constructs a new SphereZone.
GetFactor @inherit

Function Details

GetFactor

[[nodiscard]] AmReal32 GetFactor(const AmVec3& position) final

@inherit

SphereZone

SphereZone(SphereShape* inner, SphereShape* outer)

Constructs a new SphereZone.

Parameter inner
The inner SphereShape.
Parameter outer
The outer SphereShape.