PageRenderTime 15ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/away3d/core/partition/CameraNode.as

http://github.com/away3d/away3d-core-fp11
ActionScript | 28 lines | 15 code | 2 blank | 11 comment | 0 complexity | b84b2284b0e765de23c2feb1bf26acfc MD5 | raw file
 1package away3d.core.partition
 2{
 3	import away3d.cameras.Camera3D;
 4	import away3d.core.traverse.PartitionTraverser;
 5	
 6	/**
 7	 * CameraNode is a space partitioning leaf node that contains a Camera3D object.
 8	 */
 9	public class CameraNode extends EntityNode
10	{
11		/**
12		 * Creates a new CameraNode object.
13		 * @param camera The camera to be contained in the node.
14		 */
15		public function CameraNode(camera:Camera3D)
16		{
17			super(camera);
18		}
19		
20		/**
21		 * @inheritDoc
22		 */
23		override public function acceptTraverser(traverser:PartitionTraverser):void
24		{
25			// todo: dead end for now, if it has a debug mesh, then sure accept that
26		}
27	}
28}