Andorra Suite Documentation

Unit AcTypes

Unit dependencies

View fullscreen

Description

Contains basic type definitions.

Structures

packed record

record

Functions

function AcVector1
(AX:single): TAcVector1; inline; overload;
function AcVector2
(AX,AY:single):TAcVector2; inline; overload;
function AcVector3
(AX,AY,AZ:single):TAcVector3; inline; overload;
function AcVector4
(AX, AY, AZ, AW:single):TAcVector4; inline; overload;
function AcVectorLength
(AVec: TAcVector1): Single; overload;
function AcVectorNormalize
(AVec: TAcVector1): TAcVector1; overload;
function AcVectorDot
(AVec1, AVec2: TAcVector1): Single; overload;
function AcVectorAdd
(AVec1, AVec2: TAcVector1): TAcVector1; overload;
function AcVectorSub
(AVec1, AVec2: TAcVector1): TAcVector1; overload;
function AcVectorMul
(AVec: TAcVector1; r: Single): TAcVector1; overload;
function AcVectorCross
(AVec1, AVec2: TAcVector3): TAcVector3; overload;
function AcTriangle
(const AVec1, AVec2, AVec3: TAcVector3): TAcTriangle; overload;
function AcRay
(const AOrigin, ADirection: TAcVector3): TAcRay;
function AcRayPnts
(const AFrom, ATo: TAcVector3): TAcRay;
procedure AcConvertEndian
(ASrc, ADest: Pointer; const ASize: Integer; const ASrcEndian: TAcEndian; const ADestEndian: TAcEndian = acLittleEndian);

Enumerations

Constants

AcMachineEndian
: TAcEndian = acLittleEndian;
! Add compiler switches for freepascal
AcMatrix_Clear
: TAcMatrix = ((0,0,0,0),(0,0,0,0),(0,0,0,0),(0,0,0,0));
A matrix which only contains zero values
AcMatrix_Identity
: TAcMatrix = ((1,0,0,0),(0,1,0,0),(0,0,1,0),(0,0,0,1));
A identity matrix.

Types

AcInt8
= ShortInt;
-------------------------------- --- ANDORRA NOTIFICATION QUEUE SETTINGS --- Type definitions for types with the same size 8-Bit signed integer
AcInt16
= SmallInt;
16-Bit signed integer
AcInt32
= LongInt;
32-Bit signed integer
AcInt64
= Int64;
64-Bit signed integer
AcUInt8
= Byte;
8-Bit unsigned integer
AcUInt16
= Word;
16-Bit unsigned integer
AcUInt32
= Longword;
32-Bit unsigned integer
AcFloat
= Single;
32-Bit float single precision
AcDouble
= Double;
64-Bit float double precision
AcPtrInt
= Integer;
Signed integer which has the same size as a pointer
AcBool
= ByteBool;
8-Bit Boolean value
AcInt24
= array[0..2] of Byte;
PAcInt24
= ^AcInt24;
PAcInt8
= ^AcInt8;
PAcInt16
= ^AcInt16;
PAcInt32
= ^AcInt32;
PAcInt64
= ^AcInt64;
PAcUInt8
= ^AcUInt8;
PAcUInt16
= ^AcUInt16;
PAcUInt32
= ^AcUInt32;
PAcFloat
= ^AcFloat;
PAcDouble
= ^AcDouble;
PAcBool
= ^AcBool;
PAcVector1
= ^TAcVector1;
PAcVector2
= ^TAcVector2;
PAcVector3
= ^TAcVector3;
PAcVector4
= ^TAcVector4;
TAcMatrix
= array[0..3] of array[0..3] of single;
A standard 4x4 matrix.
PAcMatrix
= ^TAcMatrix;
PAcPlane
= ^TAcPlane;
TAcFrustrum
= array[0..5] of TAcPlane;
PAcFrustrum
= ^TAcFrustrum;
PAcAABB
= ^TAcAABB;
PAcTriangle
= ^TAcTriangle;
PAcRay
= ^TAcRay;
TAcNotifyEvent
= procedure(Sender: TObject) of object;

This page was generated by a documentation system written by Andreas Stoeckel. This system makes use of a modified PasDoc version (download can be found here) and Graphviz.

Get Andorra Commons at SourceForge.net. Fast, secure and Free Open Source software downloads