math/ vectors.bi | |
License | Copyright © 2009, FreeBASIC Extended Library Development Group |
ext.math | |
vector2d | Simple 2 dimensional vector. |
Variables | |
x | |
y | |
Functions | |
dot | vector dot product function |
magnitude | vector magnitude function |
normalize | normalizes “this” vector |
cross | vector cross product function |
distance | vector distance function (euler) |
AngleBetween | angle between vectors function |
vector3d | Simple 3 dimensional vector. |
Variables | |
x | |
y | |
z | |
Functions | |
dot | vector dot product function |
magnitude | vector magnitude function |
normalize | normalizes “this” vector |
cross | vector cross product function |
distance | vector distance function (euler) |
AngleBetween | angle between vectors function |
vector4d | Simple 4 dimensional vector. |
Variables | |
x | |
y | |
z | |
w | |
Functions | |
dot | vector dot product function |
magnitude | vector magnitude function |
normalize | normalizes “this” vector |
cross | vector cross product function |
distance | vector distance function (euler) |
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
Simple 2 dimensional vector.
This class is being deprecated in favor of Vector2.
x as single
y as single
vector dot product function
declare function dot ( byref v As vector2D ) as single
vector magnitude function
declare function magnitude() as single
normalizes “this” vector
declare sub normalize()
vector cross product function
declare function cross( byref v as vector2d ) as vector2d
vector distance function (euler)
declare function distance( byref v as vector2d ) as single
angle between vectors function
declare function AngleBetween( byref v as vector2d ) as single
x as single
y as single
z as single
vector dot product function
declare function dot ( byref v As vector3D ) as single
vector magnitude function
declare function magnitude() as single
normalizes “this” vector
declare sub normalize()
vector cross product function
declare function cross( byref v as vector3d ) as vector3d
vector distance function (euler)
declare function distance( byref v as vector3d ) as single
angle between vectors function
declare function AngleBetween( byref v As vector3d ) As single
x as single
y as single
z as single
w as single
vector dot product function
declare function dot ( byref v As vector4D ) as single
vector magnitude function
declare function magnitude() as single
normalizes “this” vector
declare sub normalize()
vector cross product function
declare function cross( byref v as vector4d ) as vector4d
vector distance function (euler)
declare function distance ( byref v as vector4d ) as single