javadoc fixes
This commit is contained in:
parent
b20ae3c6da
commit
a877b0c1f1
|
@ -136,8 +136,7 @@ public class AWTGLCanvas extends Canvas implements Drawable, ComponentListener,
|
||||||
/**
|
/**
|
||||||
* Create an AWTGLCanvas with the requested PixelFormat on the default GraphicsDevice.
|
* Create an AWTGLCanvas with the requested PixelFormat on the default GraphicsDevice.
|
||||||
*
|
*
|
||||||
* @param pixelFormat The desired pixel format. May not be null
|
* @param pixel_format The desired pixel format. May not be null
|
||||||
* @param device the device to create the canvas on.
|
|
||||||
*/
|
*/
|
||||||
public AWTGLCanvas(PixelFormat pixel_format) throws LWJGLException {
|
public AWTGLCanvas(PixelFormat pixel_format) throws LWJGLException {
|
||||||
this(GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice(), pixel_format);
|
this(GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice(), pixel_format);
|
||||||
|
@ -146,8 +145,8 @@ public class AWTGLCanvas extends Canvas implements Drawable, ComponentListener,
|
||||||
/**
|
/**
|
||||||
* Create an AWTGLCanvas with the requested PixelFormat on the default GraphicsDevice.
|
* Create an AWTGLCanvas with the requested PixelFormat on the default GraphicsDevice.
|
||||||
*
|
*
|
||||||
* @param pixelFormat The desired pixel format. May not be null
|
|
||||||
* @param device the device to create the canvas on.
|
* @param device the device to create the canvas on.
|
||||||
|
* @param pixel_format The desired pixel format. May not be null
|
||||||
*/
|
*/
|
||||||
public AWTGLCanvas(GraphicsDevice device, PixelFormat pixel_format) throws LWJGLException {
|
public AWTGLCanvas(GraphicsDevice device, PixelFormat pixel_format) throws LWJGLException {
|
||||||
this(device, pixel_format, null);
|
this(device, pixel_format, null);
|
||||||
|
@ -157,8 +156,8 @@ public class AWTGLCanvas extends Canvas implements Drawable, ComponentListener,
|
||||||
* Create an AWTGLCanvas with the requested PixelFormat on the specified GraphicsDevice.
|
* Create an AWTGLCanvas with the requested PixelFormat on the specified GraphicsDevice.
|
||||||
*
|
*
|
||||||
* @param device the device to create the canvas on.
|
* @param device the device to create the canvas on.
|
||||||
* @param pixelFormat The desired pixel format. May not be null
|
* @param pixel_format The desired pixel format. May not be null
|
||||||
* @param shared_drawable The Drawable to share context with
|
* @param drawable The Drawable to share context with
|
||||||
*/
|
*/
|
||||||
public AWTGLCanvas(GraphicsDevice device, PixelFormat pixel_format, Drawable drawable) throws LWJGLException {
|
public AWTGLCanvas(GraphicsDevice device, PixelFormat pixel_format, Drawable drawable) throws LWJGLException {
|
||||||
super(implementation.findConfiguration(device, pixel_format));
|
super(implementation.findConfiguration(device, pixel_format));
|
||||||
|
|
|
@ -127,7 +127,7 @@ public final class Display {
|
||||||
* @return the chosen display mode
|
* @return the chosen display mode
|
||||||
* @throws NoSuchFieldException if one of the params is not a field in DisplayMode
|
* @throws NoSuchFieldException if one of the params is not a field in DisplayMode
|
||||||
* @throws Exception if no display mode could be set
|
* @throws Exception if no display mode could be set
|
||||||
* @see org.lwjgl.DisplayMode
|
* @see org.lwjgl.opengl.DisplayMode
|
||||||
*/
|
*/
|
||||||
public static DisplayMode setDisplayMode(DisplayMode[] dm, final String[] param) throws Exception {
|
public static DisplayMode setDisplayMode(DisplayMode[] dm, final String[] param) throws Exception {
|
||||||
|
|
||||||
|
|
|
@ -868,7 +868,6 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
|
||||||
*
|
*
|
||||||
* @param ownCerts Chain of certificates to check against
|
* @param ownCerts Chain of certificates to check against
|
||||||
* @param native_certs Chain of certificates to check
|
* @param native_certs Chain of certificates to check
|
||||||
* @return true if the chains match
|
|
||||||
*/
|
*/
|
||||||
protected static void validateCertificateChain(Certificate[] ownCerts, Certificate[] native_certs) throws Exception {
|
protected static void validateCertificateChain(Certificate[] ownCerts, Certificate[] native_certs) throws Exception {
|
||||||
if (native_certs == null)
|
if (native_certs == null)
|
||||||
|
@ -948,7 +947,6 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
|
||||||
* Sets the state of the loaded and prints some debug information
|
* Sets the state of the loaded and prints some debug information
|
||||||
*
|
*
|
||||||
* @param error Error message to print
|
* @param error Error message to print
|
||||||
* @param state State to enter
|
|
||||||
*/
|
*/
|
||||||
protected void fatalErrorOccured(String error) {
|
protected void fatalErrorOccured(String error) {
|
||||||
fatalError = true;
|
fatalError = true;
|
||||||
|
|
|
@ -294,7 +294,6 @@ public class GLU {
|
||||||
* @param projMatrix
|
* @param projMatrix
|
||||||
* @param viewport
|
* @param viewport
|
||||||
* @param win_pos
|
* @param win_pos
|
||||||
* @return
|
|
||||||
*/
|
*/
|
||||||
public static boolean gluProject(float objx, float objy, float objz,
|
public static boolean gluProject(float objx, float objy, float objz,
|
||||||
FloatBuffer modelMatrix,
|
FloatBuffer modelMatrix,
|
||||||
|
@ -314,7 +313,6 @@ public class GLU {
|
||||||
* @param projMatrix
|
* @param projMatrix
|
||||||
* @param viewport
|
* @param viewport
|
||||||
* @param obj_pos
|
* @param obj_pos
|
||||||
* @return
|
|
||||||
*/
|
*/
|
||||||
public static boolean gluUnProject(float winx, float winy, float winz,
|
public static boolean gluUnProject(float winx, float winy, float winz,
|
||||||
FloatBuffer modelMatrix,
|
FloatBuffer modelMatrix,
|
||||||
|
|
|
@ -287,8 +287,6 @@ public class Project extends Util {
|
||||||
* @param projMatrix
|
* @param projMatrix
|
||||||
* @param viewport
|
* @param viewport
|
||||||
* @param win_pos
|
* @param win_pos
|
||||||
*
|
|
||||||
* @return
|
|
||||||
*/
|
*/
|
||||||
public static boolean gluProject(
|
public static boolean gluProject(
|
||||||
float objx,
|
float objx,
|
||||||
|
@ -338,8 +336,6 @@ public class Project extends Util {
|
||||||
* @param projMatrix
|
* @param projMatrix
|
||||||
* @param viewport
|
* @param viewport
|
||||||
* @param obj_pos
|
* @param obj_pos
|
||||||
*
|
|
||||||
* @return
|
|
||||||
*/
|
*/
|
||||||
public static boolean gluUnProject(
|
public static boolean gluUnProject(
|
||||||
float winx,
|
float winx,
|
||||||
|
|
|
@ -67,8 +67,6 @@ public class Quaternion extends Vector implements ReadableVector4f {
|
||||||
/**
|
/**
|
||||||
* C'tor
|
* C'tor
|
||||||
*
|
*
|
||||||
* @param x,
|
|
||||||
* y, z, w
|
|
||||||
*/
|
*/
|
||||||
public Quaternion(float x, float y, float z, float w) {
|
public Quaternion(float x, float y, float z, float w) {
|
||||||
set(x, y, z, w);
|
set(x, y, z, w);
|
||||||
|
@ -438,7 +436,7 @@ public class Quaternion extends Vector implements ReadableVector4f {
|
||||||
* Sets the value of this quaternion using the rotational component of the
|
* Sets the value of this quaternion using the rotational component of the
|
||||||
* passed matrix.
|
* passed matrix.
|
||||||
*
|
*
|
||||||
* @param m1
|
* @param m
|
||||||
* The matrix
|
* The matrix
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
|
@ -454,7 +452,7 @@ public class Quaternion extends Vector implements ReadableVector4f {
|
||||||
* The source matrix
|
* The source matrix
|
||||||
* @param q
|
* @param q
|
||||||
* The destination quaternion, or null if a new quaternion is to be created
|
* The destination quaternion, or null if a new quaternion is to be created
|
||||||
* @return
|
* @return q
|
||||||
*/
|
*/
|
||||||
public final static Quaternion setFromMatrix(Matrix4f m, Quaternion q) {
|
public final static Quaternion setFromMatrix(Matrix4f m, Quaternion q) {
|
||||||
return q.setFromMat(m.m00, m.m01, m.m02, m.m10, m.m11, m.m12, m.m20,
|
return q.setFromMat(m.m00, m.m01, m.m02, m.m10, m.m11, m.m12, m.m20,
|
||||||
|
@ -480,7 +478,7 @@ public class Quaternion extends Vector implements ReadableVector4f {
|
||||||
* The source matrix
|
* The source matrix
|
||||||
* @param q
|
* @param q
|
||||||
* The destination quaternion, or null if a new quaternion is to be created
|
* The destination quaternion, or null if a new quaternion is to be created
|
||||||
* @return
|
* @return q
|
||||||
*/
|
*/
|
||||||
public static final Quaternion setFromMatrix(Matrix3f m, Quaternion q) {
|
public static final Quaternion setFromMatrix(Matrix3f m, Quaternion q) {
|
||||||
return q.setFromMat(m.m00, m.m01, m.m02, m.m10, m.m11, m.m12, m.m20,
|
return q.setFromMat(m.m00, m.m01, m.m02, m.m10, m.m11, m.m12, m.m20,
|
||||||
|
|
Loading…
Reference in New Issue