- [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)
Cone Class Reference¶
#include <influenc.h>
Inheritance diagram for Cone:
Inheritance graph
[legend]
Collaboration diagram for Cone:
Collaboration graph
[legend]
Public Member Functions |
|
| Cone (float, float, float, float, float) | |
| void | Init (float, 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 &) |
| float | LightingNoCap (const Vector &p) |
| void | Transform () |
| void | Transform (const Matrix34 &screenmatrix) |
| BOOL | IsVisible (Vector, const Matrix34 &, float, float, float(*GetVolumetricZ)(int, int)) |
| BOOL | IsInside (Vector p) |
| void | FindBounds (Vector &min, Vector &max) |
Public Attributes |
|
| Vector | base |
| Vector | axis |
| Vector | capbase |
| float | angle |
| float | halfangle |
| float | tanangle |
| float | tananglesqr |
| float | radius |
| float | endradius |
| float | deltaangle |
| float | cap |
| float | length |
| float | lengthsqr |
| float | costotalangle |
| float | softness |
| float | cossoftangle |
| float | falloffdistance |
| float | falloffdistancedelta |
| float | S |
| float | beta |
| float | L |