Hmmm... I wonder does anyone notice about the following bugs in the matrix and vector functions of DBpro.
BUG #1:
=======
DESCRIPTIONS: Make Matrix4 will overwrite the vector that you had created.
EXAMPLE:
result = Make Vector4(1)
Set Vector4 1, 10, 20, 30, 1
result = Make Matrix4(1)
Set Identitiy Matrix4 1
RESULTS:
As you can see, it is obvious that the vector will have value of (10, 20, 30, 1). This is true before the matrix is created. After that, when you check the vector value, you will get the value (1, 0, 0, 0). Strange eh? My guess is the matrix construction had somehow overwritten the value of the vector.
BUG #2:
=======
DESCRIPTIONS: Multiply Matrix4 with a scalar value seems doesn't work.
EXAMPLE:
result = Make Matrix4(1)
Set Identitiy Matrix4 1
Multiply Matrix4 1, 1.5
RESULT:
Technically this is equivalent as calling
Scale Matrix4 1, 1.5, 1.5, 1.5
But it seems that the Multiply Matrix4 command doesn't do anything to the matrix, i.e. the matrix values remain unchange.
Finally, does anybody knows how to check whether a vector or matrix4 already exist or created? Something like the function Object Exist() to check whether the object of the specified index exists or not.
Thanks!

Bad Nose Entertainment - Where games are forged from the flames of talent and passion.
http://www.badnose.com/