math/ vector3.bi | |
License | Copyright © 2009, FreeBASIC Extended Library Development Group |
Functions | |
default constructor | |
component constructor | |
copy constructor | |
copy operator let | |
Magnitude | |
Normalize | |
Normal | |
Dot | |
Cross | |
Distance | Returns the distance between the endpoints of the vector and another. |
AngleBetween | Returns the angle between the vector and another. |
Distance | Returns the distance between the endpoints of two vectors. |
AngleBetween | Returns the angle between two vectors. |
global operator - (negate) | Returns a * -1. |
global operator + | Returns a vector whose components are the sum of the corresponding components of two vectors. |
global operator + | Returns a vector whose components are the sum of the corresponding components of a vector and a scalar. |
global operator - | Returns a vector whose components are the difference of the corresponding components of two vectors. |
global operator - | Returns a vector whose components are the difference of the corresponding components of a vector and a scalar. |
global operator * | Returns a vector whose components are the product of the corresponding components of two vectors. |
global operator * | Returns a vector whose components are the product of the corresponding components of a vector and a scalar. |
global operator / | Returns a vector whose components are the quotient of the corresponding components of two vectors. |
global operator / | Returns a vector whose components are the quotient of the corresponding components of a vector and a scalar. |
Copyright © 2009, FreeBASIC Extended Library Development Group
Distributed under the FreeBASIC Extended Library Group license. See accompanying file LICENSE.txt or copy at http://code.google.com- /p- /fb-extended-lib- /wiki- /License
declare const function Magnitude ( ) as double
declare sub Normalize ( )
declare const function Normal ( ) as fbext_Vector3(( T_))
declare const function Dot ( byref v as const fbext_Vector3(( T_)) ) as double
declare const function Cross ( byref v as const fbext_Vector3(( T_)) ) as fbext_Vector3(( T_))
Returns the distance between the endpoints of the vector and another.
declare const function Distance ( byref v as const fbext_Vector3(( T_)) ) as double
Returns the angle between the vector and another.
declare const function AngleBetween ( byref v as const fbext_Vector3(( T_)) ) as double