// forked from makc3d's What is hapening with .w ?? package { import com.actionscriptbible.Example; import flash.geom.*; public class WhatTheFuck extends Example { public function WhatTheFuck() { // not so identity matrix var m:Matrix3D = new Matrix3D; var r:Vector.<Number> = m.rawData; r[3]=1; m.rawData = r; // vector with w != 1 var v:Vector3D = new Vector3D (1, 2, 3, 4); v = m.transformVector (v); // WTF ??? trace (v, v.w); } } }