Bug 52

Summary: Current GLU semantics need to be properly encapsulated
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P2    
Version: 1   
Hardware: All   
OS: all   
Type: FEATURE SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:46:05 CET


---- Reported by gregorypierce 2003-11-21 12:18:40 ----

Currently the GLU engine requires that you use certain functions such as 
GLU.newQuadric() in order to get a new GLUQuadric. However, the constructure for 
GLUQuadric is public such that new users do what they expect would work in OO and 
perform the operation:

new GLUQuadric()

This will work at the API level and will not fail until you try to actually render the Quadric. 
Since the desired behavior is to use the GLU factory functions, the constructors for these 
classes absolutely needs to become package private so that users to not get themselves 
into awkward situations with respect to the Quadrics.



---- Additional Comments From kbr 2005-01-30 23:52:16 ----

This has been fixed with the recent incorporation of the LWJGL team's port of
the GLU quadric code to pure Java.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:46 EDT  ---

This bug was previously known as _bug_ 52 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=52