Gorilla.Utils.Vectors
Unit Gorilla.Utils.Vectors.pasFunctions / Procedures
- public function Vec3 ( const x : Single; const y : Single; const z : Single ) : TPoint3D ; overload;
- public function Vec3 ( const V : TVector3D ) : TPoint3D ; overload;
- public function Vec3 ( const V : TVector ) : TPoint3D ; overload;
- public procedure Apply ( var V : TVector; const P : TPoint3D ) ; overload;
- public procedure Identity ( var V : TPoint3D ) ; overload;
- public procedure Invert ( var V : TPoint3D ) ; overload;
- public function Mul ( const a : TPoint3D; const b : TPoint3D ) : TPoint3D ; overload;
- public function Avg ( const a : TPoint3D; const b : TPoint3D ) : TPoint3D ;
- public function Dot ( const a : TPoint3D; const b : TPoint3D ) : Single ;
- public function Cross ( const a : TPoint3D; const b : TPoint3D ) : TPoint3D ;
- public function Length ( const V : TPoint3D ) : Single ;
- public function LengthSq ( const V : TPoint3D ) : Single ;
- public function Normalize ( const V : TPoint3D ) : TPoint3D ; overload;
- public function Distance ( const a : TPoint3D; const b : TPoint3D ) : Single ;
- public function DistanceSq ( const a : TPoint3D; const b : TPoint3D ) : Single ;
- public function Direction ( const a : TPoint3D; const b : TPoint3D ) : TPoint3D ;
- public function Abs ( const V : TPoint3D ) : TPoint3D ; overload;
- public function Min ( const a : TPoint3D; const b : TPoint3D ) : TPoint3D ; overload;
- public function Max ( const a : TPoint3D; const b : TPoint3D ) : TPoint3D ; overload;
- public function MinPerElem ( const a : TPoint3D ) : Single ;
- public function MaxPerElem ( const a : TPoint3D ) : Single ;
- public function Lerp ( const a : TPoint3D; const b : TPoint3D; t : Single ) : TPoint3D ; overload;