Don't click here unless you want to be banned.


HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are

A constant describing the rotation <0.0, 0.0, 0.0, 1.0>. (<0.0, 0.0, 0.0> in Euler representation.)

Note: this is not <0.0, 0.0, 0.0, 0.0>.

Constants | Rotation
Comments [Hide comments/form]
LEAVE IT ALONE ICE!!!!!!!!!!!!
-- EepQuirk (2005-08-24 11:29:43)
The software can handle it just fine, chill.
-- IceBrodie (2005-08-25 01:48:45)
It's completely unnecessary and redundant to include all those ".0"s!
-- EepQuirk (2005-08-25 03:25:38)
It's isn't unnecessary.
0.0 is the floating point zero and 0 is the integer zero.
<0,0,0,1> uses 20 bytes while <0.0, 0.0, 0.0, 1.0> uses 16.
The definition of ZERO_ROTATION is <0.0, 0.0, 0.0, 1.0>

Before you edit the technical content of a page know what you are talking about.
-- BlindWanderer (2005-08-25 04:11:53)
The values of a rotation are indeed 4 32 bit floats.
-- IceBrodie (2005-08-25 04:16:05)
I know one doesn't NEED to add ".0" after every god damn number to make it work as a rotation! Wasteful ineffeciency... Oh and if you think 0,0,0,1 uses more bytes than 0.0,0.0,0.0,1.0 you're on crack.
-- EepQuirk (2005-08-26 20:17:13)
Eep, the .0 notation emphasizes the point that the constant is composed of floating point values. In a reference material/documentation such as this, you dont need to make things more efficiant, you need to make them less ambiguous and more understandable.
-- ChristopherOmega (2005-08-27 03:07:03)
Christopher is correct. Denoting the components as integers affects the page's accuracy and reduces comprehension. A discussion of floats vs. integers as vector or rotation components is more appropriate for their respective pages, not on that of an arbitrary constant. I notice that both vector and rotation gloss this detail over, and even float is somewhat ambiguous. I suggest starting there.
-- CatherineOmega (2005-08-27 04:56:04)
I suppose i should have specified that those byte quantities are in refrence to bytes used in the bytecode of a script.

Oh and i forgot to count the byte used to specify the tyes, so really <0,0,0,0> uses 24 bytes.
-- BlindWanderer (2005-09-04 08:16:56)
Attach a comment to this page: