i'm just wondering something whilst i've been developing a math library for DarkBasic Standard/Enhanced
type Vec3_t
x as float
y as float
z as float
endtype
dim pObjects(255) as Vec3_t
pObject(3) = Vector_Subtract( pObject(1), pObject(2) )
function Vector_Subtract( Vector1 as Vec3_t, Vector2 as Vec3_t )
`// private declarations
local fReturn as Vec3_t
fReturn.x = Vector1.x - Vector2.x
fReturn.y = Vector1.y - Vector2.y
fReturn.z = Vector1.z - Vector2.z
endfunction fReturn
i don't suppose doing that is valid is it?
probably not... but it would be good to be able to do this.
Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?