struct
FSphere
- Module
- Math
- Header
#include "Math/FBox.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
Vec3 | Center | |
float | Radius | 0 sentinel — empty / degenerate Default 0.0f. |
Constructors
| Signature | Name | Description |
|---|---|---|
FSphere() = default | FSphere | not constexpr — see FBox |
constexpr FSphere(const Vec3& c, float r) : Center(c), Radius(r) | FSphere |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | Contains | |
bool | Intersects |
Function details
FSphere
C++
FSphere() = defaultnot constexpr — see FBox
FSphere
C++
constexpr FSphere(const Vec3& c, float r) : Center(c), Radius(r)Contains
C++
bool Contains(const Vec3& p) const noexceptIntersects
C++
bool Intersects(const FSphere& o) const noexceptGenerated from Math/FBox.h via math.json · Nov 4, 2026Version 1.0.0