Unit math3d

DescriptionusesClasses, Interfaces and ObjectsFunctions and ProceduresTypesConstantsVariables

Description

This unit defines some generally useful function for 3d math.

uses

Functions and Procedures

Overview

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);

Description

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);

 


Generated by PasDoc 0.8.8 on 2005-01-20 19:01:20