summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* j3dcore: annotate generic lists in PickInfoHarvey Harrison2013-08-031-30/+28
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: trivial annotation of an Arraylist temp variableHarvey Harrison2013-07-311-2/+2
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate the Shape3DRetained viewList that was missedHarvey Harrison2013-07-311-2/+2
| | | | | | This was missed when annotating the setLiveState list of view lists. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate the list of mirrorshapes in Shape3DRetainedHarvey Harrison2013-07-312-26/+24
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: add all the missing @Override annotationsHarvey Harrison2013-07-31288-0/+1758
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: provide a public interface for AutoOffScreenCanvas3D to allow core ↵Harvey Harrison2013-07-102-1/+23
| | | | | | to build separately from j3dutils Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate targets array in Targets, remove two methods that had ↵Harvey Harrison2013-07-021-21/+5
| | | | | | incorrect types Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate list of dirty transformgroupsHarvey Harrison2013-07-023-8/+7
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: trivial list annotation in TransformStructureHarvey Harrison2013-07-021-3/+2
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate prioritizedSounds list in SoundSchedulerHarvey Harrison2013-07-021-17/+13
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: use Arrays.copyOf instead of clone on an int[]Harvey Harrison2013-07-012-3/+5
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: change to ArrayList in the async error handling codeHarvey Harrison2013-07-011-4/+5
| | | | | | | | This is not a high-rate path, so ArrayList should be fine without too many resizes. Try and make up for it by allocating an array of sufficient size up front to avoid reflection inside the toArray method. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove some unused state for locked geometryHarvey Harrison2013-07-012-5/+0
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove unnecessary casts to WakeupCriterionHarvey Harrison2013-07-0112-23/+12
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: add type annotations to Enumerations of Nodes under a GroupHarvey Harrison2013-07-012-54/+51
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: declare some local varaibles next to where they are usedHarvey Harrison2013-07-011-29/+19
| | | | | | | The compiler noticed the null check was always true at this point as nothing had written to currTree. Declare it next to its only use making the code more obvious. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate the changeViewList in SetLiveStateHarvey Harrison2013-07-014-7/+7
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate the changeViewGroup list in SetLiveStateHarvey Harrison2013-07-014-9/+9
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove some redundant casts to HashKeyHarvey Harrison2013-07-011-8/+8
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate the scoped nodes list in SetLiveStateHarvey Harrison2013-07-016-36/+28
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate some variables in the insertNodes/removeNodes message handlersHarvey Harrison2013-07-013-18/+16
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate lots of lists of Views used by ViewSpecificGroups, and ↵Harvey Harrison2013-07-016-53/+48
| | | | | | setLiveState Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: clean up some temp variable types in ViewSpecificGroupRetainedHarvey Harrison2013-07-011-21/+18
| | | | | | The local var vl is initialized on all paths, pull that to the front of the method. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: unconditionally resize the offscreen layer if required when setting ↵Harvey Harrison2013-06-302-1/+1
| | | | | | | | | the Viewport This ensures that the offscreen layer is appropriately sized even on the initial display, some users reported incorrect canvas size until something caused the layout to change. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: use the new Utils helpers to remove the last dependency on the ↵Harvey Harrison2013-06-285-25/+15
| | | | | | Distance class Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: convert GeometricTools Ray-segment distance code to Java3d/vecmath ↵Harvey Harrison2013-06-281-160/+210
| | | | | | types Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: check in a snapshot of the GeometricTools ray to segment distance ↵Harvey Harrison2013-06-281-0/+175
| | | | | | | | function - adapted from code under the Boost 1.0 license, here distributed as GPLv2 + classpath Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: convert GeometricTools Segment-segment distance code to ↵Harvey Harrison2013-06-281-327/+407
| | | | | | Java3d/vecmath types Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: check in a snapshot of the GeometricTools segment to segment ↵Harvey Harrison2013-06-281-0/+342
| | | | | | | | distance function - adapted from code under the Boost 1.0 license, here distributed as GPLv2 + classpath Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: replace Distance with core utility classHarvey Harrison2013-06-156-46/+123
| | | | | | | | Replace the use of the j3dutils Distance class that is under a different license by reimplementing some mathematical distance calculations in a Utils class. This is new code and not based on the j3dutils version. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: trivial generic annotation in RenderBinHarvey Harrison2013-06-151-4/+4
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate two locked geometry lists in RenderBinHarvey Harrison2013-06-151-33/+30
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove last use of the BufferWrapper classes from the coreHarvey Harrison2013-06-157-44/+21
| | | | | | | | Directly hold read-only views of the nio buffers, this likely fixes the vertex data held in an nio buffer for the JOGL backend as the Object[] parameter hid the change from float[] to FloatBuffer that occured at some point in history. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: use a trivial little struct instead of FastVectorHarvey Harrison2013-06-151-13/+30
| | | | | | | Pull out a struct to hold an int[] array and a count, remove the numContours variable that was redundant. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: add type information to userlist in ImageComponentRetainedHarvey Harrison2013-04-191-26/+21
| | | | | | | | - no need to synchronize on userlist, all access methods are already synchronized - add an early return to unindent a bunch of code - impossible to get a BackGroundRetained here, kill that else branch Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove a leftover assert, it is now OK for offscreen canvas3d ↵Harvey Harrison2013-04-181-2/+1
| | | | | | | | objects to be doublebuffered In fact, this is a must for certain OSX machines. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: fix permissions on a file that had the executable bit setHarvey Harrison2013-04-081-0/+0
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: use nio buffers directly for vertex normalsHarvey Harrison2013-03-175-15/+15
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: use nio buffers directly for interleaved vertex dataHarvey Harrison2013-03-175-16/+18
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: use nio buffers directly for colors, remove use of BufferWrappersHarvey Harrison2013-03-175-18/+18
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: convert trivial uses of BufferWrapper to use the readOnly nio ↵Harvey Harrison2013-03-173-21/+19
| | | | | | buffers instead Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: directly use nio buffers internally in GeometryArrayRetainedHarvey Harrison2013-03-175-22/+28
| | | | | | Remove the use of FloatBufferWrapper, DoubleBufferWrapper. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: explicitly store the readonlyBuffer copy in preparation to remove ↵Harvey Harrison2013-03-161-0/+13
| | | | | | BufferWrapper Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: add imports for java.nio in J3DBufferHarvey Harrison2013-03-031-33/+40
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: move to use an Enum for valid buffer types in J3DBufferHarvey Harrison2013-03-032-50/+47
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove test for direct nio buffers, they are standard functionalityHarvey Harrison2013-02-281-15/+0
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: change Object[] to J3DBuffer[] as we know this is the actual typeHarvey Harrison2013-02-283-18/+12
| | | | | | remove some unused variables while we're here. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove some unused vars and unneeded castsHarvey Harrison2013-02-281-6/+2
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove leftover from when OffscreenLayer was added to Canvas3dHarvey Harrison2013-02-281-1/+0
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate getAllScopes method for FogRetained to return ↵Harvey Harrison2013-02-233-23/+20
| | | | | | Enumeration<Group> Signed-off-by: Harvey Harrison <[email protected]>