⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defaultlineculler.as

📁 Papervision3d的源码
💻 AS
字号:
package org.papervision3d.core.culling {
	import org.papervision3d.core.geom.renderables.Line3D;	
	import org.papervision3d.core.culling.ILineCuller;		/**
	 * @author Seb Lee-Delisle
	 */
	public class DefaultLineCuller implements ILineCuller 
	{
		
		public function DefaultLineCuller() 
		{
			
		}
		
		public function testLine(line : Line3D) : Boolean 
		{
			// culls if one of the points is behind the camera... 
			return ((line.v0.vertex3DInstance.visible)&&(line.v1.vertex3DInstance.visible));		}	}
}

⌨️ 快捷键说明

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