📄 ambientlightretained.java
字号:
/* * $RCSfile: AmbientLightRetained.java,v $ * * Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved. * * Use is subject to license terms. * * $Revision: 1.5 $ * $Date: 2007/02/09 17:17:49 $ * $State: Exp $ */package javax.media.j3d;import javax.vecmath.*;/** * An ambient light source object. */class AmbientLightRetained extends LightRetained { AmbientLightRetained() { this.nodeType = NodeRetained.AMBIENTLIGHT; lightType = 1; localBounds = new BoundingBox(); ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0); ((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0); } void setLive(SetLiveState s) { super.setLive(s); J3dMessage createMessage = super.initMessage(7); VirtualUniverse.mc.processMessage(createMessage); } void update(Context ctx, int lightSlot, double scale) { }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -