Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
sphere.h File Reference
#include "always.h"
#include "vector3.h"
#include "matrix3d.h"

Go to the source code of this file.

Classes

class  SphereClass
 

Macros

#define SPHERE_H
 

Functions

bool Spheres_Intersect (const SphereClass &s0, const SphereClass &s1)
 
SphereClass Add_Spheres (const SphereClass &s0, const SphereClass &s1)
 
SphereClass operator+ (const SphereClass &s0, const SphereClass &s1)
 
SphereClass Transform_Sphere (const Matrix3D &m, const SphereClass &s)
 
void Transform_Sphere (const Matrix3D &m, const SphereClass &s, SphereClass &res)
 
SphereClass operator* (const Matrix3D &m, const SphereClass &s)
 

Macro Definition Documentation

◆ SPHERE_H

#define SPHERE_H

Definition at line 57 of file sphere.h.

Function Documentation

◆ Add_Spheres()

SphereClass Add_Spheres ( const SphereClass & s0,
const SphereClass & s1 )
inline

Definition at line 459 of file sphere.h.

◆ operator*()

SphereClass operator* ( const Matrix3D & m,
const SphereClass & s )
inline

Definition at line 544 of file sphere.h.

◆ operator+()

SphereClass operator+ ( const SphereClass & s0,
const SphereClass & s1 )
inline

Definition at line 483 of file sphere.h.

◆ Spheres_Intersect()

bool Spheres_Intersect ( const SphereClass & s0,
const SphereClass & s1 )
inline

Definition at line 434 of file sphere.h.

◆ Transform_Sphere() [1/2]

SphereClass Transform_Sphere ( const Matrix3D & m,
const SphereClass & s )
inline

Definition at line 501 of file sphere.h.

◆ Transform_Sphere() [2/2]

void Transform_Sphere ( const Matrix3D & m,
const SphereClass & s,
SphereClass & res )
inline

Definition at line 520 of file sphere.h.