| Description | uses | Classes, Interfaces and Objects | Functions and Procedures | Types | Constants | Variables |
This unit defines some generally useful function for 3d math.
function getAngle2d(x1,y1,x2,y2:TFloat):TFloat; overload; |
function getAngle2d(x1,y1:TFloat):TFloat; overload; |
function distance(x1,y1,x2,y2:TFloat):TFloat; overload; |
function distance(x1,y1,z1,x2,y2,z2:TFloat):TFloat; overload; |
function AngleDist(a,b:TFloat):TFloat; |
function Interpolate(a,b:TFloat; alpha:TFloat):TFloat; |
function interpolaVector(key1, key2:TVector; value:TFloat):TVector; |
function getVector(x,y,z:TFloat):TVector; |
procedure swap(var a:TFloat; var b:TFloat); |
function AngleDist(a,b:TFloat):TFloat; |
function distance(x1,y1,z1,x2,y2,z2:TFloat):TFloat; overload; |
function distance(x1,y1,x2,y2:TFloat):TFloat; overload; |
function getAngle2d(x1,y1,x2,y2:TFloat):TFloat; overload; |
function getAngle2d(x1,y1:TFloat):TFloat; overload; |
function getVector(x,y,z:TFloat):TVector; |
function Interpolate(a,b:TFloat; alpha:TFloat):TFloat; |
function interpolaVector(key1, key2:TVector; value:TFloat):TVector; |
procedure swap(var a:TFloat; var b:TFloat); |