home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / midnightstrike1.swf / scripts / __Packages / com / neodelight / std / Vector3D.as < prev    next >
Encoding:
Text File  |  2007-04-02  |  400 b   |  20 lines

  1. class com.neodelight.std.Vector3D extends com.neodelight.std.Vector
  2. {
  3.    var z;
  4.    var x;
  5.    var y;
  6.    function Vector3D(x, y, z)
  7.    {
  8.       super(x,y);
  9.       this.z = z;
  10.    }
  11.    function copyOf()
  12.    {
  13.       return new com.neodelight.std.Vector3D(this.x,this.y,this.z);
  14.    }
  15.    function toString()
  16.    {
  17.       return "{x:" + this.x + ", y:" + this.y + ", z:" + this.z + "}";
  18.    }
  19. }
  20.