| Description | uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables |
fb_collision_type is an integrated part of the FireBlade project. It offers several type definitions for the collision detection.
FireBlade is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
Copyright (C) 2005, 2009 by Sebastian Wagner. Special thanks to the DelphiGL community!
Requirements: FireBlade, fb_effectmanager: http://sourceforge.net/projects/fireblade/
| Name | Description |
|---|---|
Class TFB_Material |
|
Class TFB_CollisionPrimitive |
TFB_CollidedEvent = procedure(AParticle: Pointer; APrimitive: TFB_CollisionPrimitive; AContext: TObject) of object; |
TFB_MaterialSetCallback = function(AXIndex, AZIndex: Integer): TFB_Material of object; |
FB_FACEMODE_TRIANGLES = 0; |
FB_FACEMODE_TRIANGLE_STRIP = 1; |
FB_FACEMODE_QUADS = 2; |
FB_FACEMODE_TRIANGLE_FAN = 3; |
FB_DATAFORM_SEQUENCE = 0; |
FB_DATAFORM_POINTING = 1; |
TFB_CollidedEvent = procedure(AParticle: Pointer; APrimitive: TFB_CollisionPrimitive; AContext: TObject) of object; |
|
Collided Event, which is fired when a particle collided with an object. Parameters
|
TFB_MaterialSetCallback = function(AXIndex, AZIndex: Integer): TFB_Material of object; |
|
Callback which makes it possible to set different materials of single fields an a heightmap. Parameters
|
FB_FACEMODE_TRIANGLES = 0; |
|
Interpretates the vertices as triangles (OpenGL compatible). |
FB_FACEMODE_TRIANGLE_STRIP = 1; |
|
Interpretates the vertices as connected triangles. Takes the new vertex and the last two vertices to generate a triangle (OpenGL compatible). |
FB_FACEMODE_QUADS = 2; |
|
Interpretates the vertices as quads (OpenGL compatible). |
FB_FACEMODE_TRIANGLE_FAN = 3; |
|
Interpretates the vertices as a triangle fan. Takes the first, the last and the new vertex to generate a triangle (OpenGL compatible). |
FB_DATAFORM_SEQUENCE = 0; |
|
The pointer points to a continiuous sequence of values |
FB_DATAFORM_POINTING = 1; |
|
The pointer points to a sequence of pointers, which point to a continiuous sequence of values |
10.21.07
22.05.09