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

Go to the source code of this file.

Classes

class  OBBoxClass
 

Macros

#define OBBOX_H
 

Functions

bool Oriented_Boxes_Intersect (const OBBoxClass &box0, const OBBoxClass &box1)
 
bool Oriented_Boxes_Collide (const OBBoxClass &box0, const Vector3 &v0, const OBBoxClass &box1, const Vector3 &v1, float dt)
 
bool Oriented_Box_Intersects_Tri (const OBBoxClass &box, const TriClass &tri)
 

Macro Definition Documentation

◆ OBBOX_H

#define OBBOX_H

Definition at line 49 of file obbox.h.

Function Documentation

◆ Oriented_Box_Intersects_Tri()

bool Oriented_Box_Intersects_Tri ( const OBBoxClass & box,
const TriClass & tri )

Definition at line 743 of file obbox.cpp.

◆ Oriented_Boxes_Collide()

bool Oriented_Boxes_Collide ( const OBBoxClass & box0,
const Vector3 & v0,
const OBBoxClass & box1,
const Vector3 & v1,
float dt )

Definition at line 487 of file obbox.cpp.

◆ Oriented_Boxes_Intersect()

bool Oriented_Boxes_Intersect ( const OBBoxClass & box0,
const OBBoxClass & box1 )

Definition at line 362 of file obbox.cpp.