point3d.as

来自「flex3d 的源码」· AS 代码 · 共 32 行

AS
32
字号
/**
* project3D Engine
* @author John Sword
* @version 2 - AS3
*/

package engine.geom
{
	
	public class Point3D
	{
		public var x:Number;
		public var y:Number;
		public var z:Number;

		/**
		* Create a new Point3D
		* 
		* @param x the x coordinate
		* @param y the y coordinate
		* @param z the z coordinate
		*/ 	
		public function Point3D ( x:Number = 0, y:Number = 0, z:Number = 0)
		{
			this.x = x || 0;
			this.y = y || 0;
			this.z = z || 0;
		}
	    
	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?