realbasic-betas.mbox
[Top] [All Lists]

Vector3D ops on nil objects

To: REALbasic Betas <realbasic-betas at lists dot realsoftware dot com>
Subject: Vector3D ops on nil objects
From: Nick Dabner <nickdabner at mac dot com>
Date: Sun, 28 Jul 2002 15:04:12 +1000
Hello all,

Have been utilising the Vector3D function lately and have encounted a few
crashes that brought to my attention that nil vector3D objects can be used
in vector calculations (eg: plus,minus) without any compiler complaints. I
am unsure if it was directly responsible for my crashes as I cannot
reproduce it in a new project. I would have expected an alert to be raised.
Any reason why this is not the case?

Debugging little problems is still hampered by the inability to use self in
the variables list without causing an IDE or machine crash. A .01 release
must be essential for 4.5, no?

On a side note, changing a vectors x component into a string to see for
debugging results in something similar to -NAM(042) instead of a double.
Does this have something to do with RB's internal representation?

Would it be possible (or sensible) to subclass a camera to group(OO) camera
related functions? How would I go about this?

Also, 4.5 is great for 3D. Think it looks after everything on my wish list.
Well done Joe & RB. Perhaps to assist in 3D areas, RB could create a folder
on the ftp site for some basic 3dmf models for users to test with? Currently
betaman is making a guest appearance in nearly every 3D app I touch, hehe.

Regards,

Nick Dabner



<Prev in Thread] Current Thread [Next in Thread>