Skip to content
- [Main Page](index.md) - [Classes](annotated.md) - [Files](files.md) - [Directories](dirs.md) - [Related Pages](pages.md)
- [Class List](annotated.md) - [Alphabetical List](classes.md) - [Class Hierarchy](hierarchy.md) - [Class Members](functions.md)

Slab Class Reference

#include <influenc.h>

Inheritance diagram for Slab:

Inheritance graph

[legend]

Collaboration diagram for Slab:

Collaboration graph

[legend]

List of all members.


Public Member Functions

  Slab ()
  Slab (float, float, float, float)
void  Init (float, float, float, float)
void  Intersect (const Vector &, const Vector &, ThreadInfo *)
BOOL  Intersect (const Vector &, const Vector &, Vector &, Vector &)
void  Normal (Hit &, Vector &, Vector &)
int  GetType ()
float  Falloff (Vector)
Vector  Attract (Vector, float)
Vector  Vortex (Vector, Vector, float)
Vector  Friction (Vector, Vector, float)
float  Lighting (const Vector &, Vector &, float &)
void  ComputeSides (Vector &, float, float, float)
void  Transform ()
BOOL  IsInside (Vector p)
void  FindBounds (Vector &min, Vector &max)

Public Attributes

Vector  center
Vector  axis
float  length
float  softlength
float  lengthdelta
float  halfwidth
float  softhalfwidth
float  halfwidthdelta