In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

What is hapening with .w ??

Get Adobe Flash player
by makc3d 15 May 2012
package {
    import com.actionscriptbible.Example;
    import flash.geom.*;
    public class WhatTheFuck extends Example {
        public function WhatTheFuck() {
            // identity matrix
            var m:Matrix3D = new Matrix3D;
            // vector with w != 1
            var v:Vector3D = new Vector3D (1, 2, 3, 4);
            v = m.transformVector (v);
            // WTF ???
            trace (v, v.w);
            
        }
    }
}