📄 orderedcollection.java
字号:
/* * $RCSfile: OrderedCollection.java,v $ * * Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved. * * Use is subject to license terms. * * $Revision: 1.4 $ * $Date: 2007/02/09 17:18:13 $ * $State: Exp $ */package javax.media.j3d;import java.util.ArrayList;/** * An OrderCollections contains a LightBin and an ArrayList of * of all top level OrderedGroups under this OrderCollection */class OrderedCollection extends Object implements ObjectUpdate{ LightBin lightBin = null; // a list of top level orderedBins under this orderedCollection ArrayList childOrderedBins = new ArrayList(); // LightBin used for next frame LightBin nextFrameLightBin = null; // LightBins to be added for this frame LightBin addLightBins = null; boolean onUpdateList = false; public void updateObject() { int i; LightBin lb; lightBin = nextFrameLightBin; if (addLightBins != null) { if (lightBin != null) { addLightBins.prev = lightBin; lightBin.next = addLightBins; } else { lightBin = addLightBins; nextFrameLightBin = lightBin; } } addLightBins = null; onUpdateList = false; } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -