wavelength 1.0.0
Loading...
Searching...
No Matches
Sphere Class Reference

Bounding sphere. More...

#include <sphere.h>

Collaboration diagram for Sphere:

Public Attributes

Vector3 mCenter
float mRadius

Detailed Description

Bounding sphere.

The class is not polymorphic and emits no RTTI descriptor, so the name is inferred. Its text dump writes the two members under the labels "\n\tcenter:" and " radius:".

The centre is quadword aligned on the PlayStation 2, which gives the whole structure 16-byte alignment and a size of 0x20 bytes. Rnd::Mesh::CopyFrom() relies on that size and moves the sphere as two quadwords.

Member Data Documentation

◆ mCenter

Vector3 Sphere::mCenter

◆ mRadius

float Sphere::mRadius

The documentation for this class was generated from the following file: