New math code

This commit is contained in:
Caspian Rychlik-Prince 2002-08-24 09:32:01 +00:00
parent 0f2936e709
commit 918af28c2b
15 changed files with 294 additions and 109 deletions

View File

@ -1,109 +0,0 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math */
#ifndef _Included_org_lwjgl_Math
#define _Included_org_lwjgl_Math
#ifdef __cplusplus
extern "C" {
#endif
#undef org_lwjgl_Math_PI
#define org_lwjgl_Math_PI 3.1415927f
#undef org_lwjgl_Math_MATRIXOP_NOOP
#define org_lwjgl_Math_MATRIXOP_NOOP 0L
#undef org_lwjgl_Math_MATRIXOP_NEGATE
#define org_lwjgl_Math_MATRIXOP_NEGATE 1L
#undef org_lwjgl_Math_MATRIXOP_NORMALIZE
#define org_lwjgl_Math_MATRIXOP_NORMALIZE 2L
#undef org_lwjgl_Math_MATRIXOP_INVERT
#define org_lwjgl_Math_MATRIXOP_INVERT 3L
#undef org_lwjgl_Math_MATRIXOP_MULTIPLY
#define org_lwjgl_Math_MATRIXOP_MULTIPLY 4L
#undef org_lwjgl_Math_MATRIXOP_ADD
#define org_lwjgl_Math_MATRIXOP_ADD 5L
#undef org_lwjgl_Math_MATRIXOP_SUBTRACT
#define org_lwjgl_Math_MATRIXOP_SUBTRACT 6L
/*
* Class: org_lwjgl_Math
* Method: random
* Signature: ()F
*/
JNIEXPORT jfloat JNICALL Java_org_lwjgl_Math_random
(JNIEnv *, jclass);
/*
* Class: org_lwjgl_Math
* Method: sin
* Signature: (F)F
*/
JNIEXPORT jfloat JNICALL Java_org_lwjgl_Math_sin
(JNIEnv *, jclass, jfloat);
/*
* Class: org_lwjgl_Math
* Method: cos
* Signature: (F)F
*/
JNIEXPORT jfloat JNICALL Java_org_lwjgl_Math_cos
(JNIEnv *, jclass, jfloat);
/*
* Class: org_lwjgl_Math
* Method: tan
* Signature: (F)F
*/
JNIEXPORT jfloat JNICALL Java_org_lwjgl_Math_tan
(JNIEnv *, jclass, jfloat);
/*
* Class: org_lwjgl_Math
* Method: asin
* Signature: (F)F
*/
JNIEXPORT jfloat JNICALL Java_org_lwjgl_Math_asin
(JNIEnv *, jclass, jfloat);
/*
* Class: org_lwjgl_Math
* Method: acos
* Signature: (F)F
*/
JNIEXPORT jfloat JNICALL Java_org_lwjgl_Math_acos
(JNIEnv *, jclass, jfloat);
/*
* Class: org_lwjgl_Math
* Method: atan
* Signature: (F)F
*/
JNIEXPORT jfloat JNICALL Java_org_lwjgl_Math_atan
(JNIEnv *, jclass, jfloat);
/*
* Class: org_lwjgl_Math
* Method: sqrt
* Signature: (F)F
*/
JNIEXPORT jfloat JNICALL Java_org_lwjgl_Math_sqrt
(JNIEnv *, jclass, jfloat);
/*
* Class: org_lwjgl_Math
* Method: matrixOp
* Signature: (IIIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_matrixOp__IIIIIIZIIZ
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
/*
* Class: org_lwjgl_Math
* Method: matrixOp
* Signature: (IIIIIZIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_matrixOp__IIIIIZIIIIZIIZ
(JNIEnv *, jclass, jint, jint, jint, jint, jint, jboolean, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math_MatrixOpAdd_MatrixOpDirect */
#ifndef _Included_org_lwjgl_Math_MatrixOpAdd_MatrixOpDirect
#define _Included_org_lwjgl_Math_MatrixOpAdd_MatrixOpDirect
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_lwjgl_Math_MatrixOpAdd_MatrixOpDirect
* Method: execute
* Signature: (IIIIIZIIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_00024MatrixOpAdd_00024MatrixOpDirect_execute
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jboolean, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math_MatrixOpAdd_MatrixOpSafe */
#ifndef _Included_org_lwjgl_Math_MatrixOpAdd_MatrixOpSafe
#define _Included_org_lwjgl_Math_MatrixOpAdd_MatrixOpSafe
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_lwjgl_Math_MatrixOpAdd_MatrixOpSafe
* Method: execute
* Signature: (IIIIIZIIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_00024MatrixOpAdd_00024MatrixOpSafe_execute
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jboolean, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math_MatrixOpCopy_MatrixOpDirect */
#ifndef _Included_org_lwjgl_Math_MatrixOpCopy_MatrixOpDirect
#define _Included_org_lwjgl_Math_MatrixOpCopy_MatrixOpDirect
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_lwjgl_Math_MatrixOpCopy_MatrixOpDirect
* Method: execute
* Signature: (IIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_00024MatrixOpCopy_00024MatrixOpDirect_execute
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math_MatrixOpCopy_MatrixOpSafe */
#ifndef _Included_org_lwjgl_Math_MatrixOpCopy_MatrixOpSafe
#define _Included_org_lwjgl_Math_MatrixOpCopy_MatrixOpSafe
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_lwjgl_Math_MatrixOpCopy_MatrixOpSafe
* Method: execute
* Signature: (IIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_00024MatrixOpCopy_00024MatrixOpSafe_execute
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math_MatrixOpInvert_MatrixOpDirect */
#ifndef _Included_org_lwjgl_Math_MatrixOpInvert_MatrixOpDirect
#define _Included_org_lwjgl_Math_MatrixOpInvert_MatrixOpDirect
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_lwjgl_Math_MatrixOpInvert_MatrixOpDirect
* Method: execute
* Signature: (IIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_00024MatrixOpInvert_00024MatrixOpDirect_execute
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math_MatrixOpInvert_MatrixOpSafe */
#ifndef _Included_org_lwjgl_Math_MatrixOpInvert_MatrixOpSafe
#define _Included_org_lwjgl_Math_MatrixOpInvert_MatrixOpSafe
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_lwjgl_Math_MatrixOpInvert_MatrixOpSafe
* Method: execute
* Signature: (IIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_00024MatrixOpInvert_00024MatrixOpSafe_execute
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math_MatrixOpMultiply_MatrixOpDirect */
#ifndef _Included_org_lwjgl_Math_MatrixOpMultiply_MatrixOpDirect
#define _Included_org_lwjgl_Math_MatrixOpMultiply_MatrixOpDirect
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_lwjgl_Math_MatrixOpMultiply_MatrixOpDirect
* Method: execute
* Signature: (IIIIIZIIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_00024MatrixOpMultiply_00024MatrixOpDirect_execute
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jboolean, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math_MatrixOpMultiply_MatrixOpSafe */
#ifndef _Included_org_lwjgl_Math_MatrixOpMultiply_MatrixOpSafe
#define _Included_org_lwjgl_Math_MatrixOpMultiply_MatrixOpSafe
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_lwjgl_Math_MatrixOpMultiply_MatrixOpSafe
* Method: execute
* Signature: (IIIIIZIIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_00024MatrixOpMultiply_00024MatrixOpSafe_execute
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jboolean, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math_MatrixOpNegate_MatrixOpDirect */
#ifndef _Included_org_lwjgl_Math_MatrixOpNegate_MatrixOpDirect
#define _Included_org_lwjgl_Math_MatrixOpNegate_MatrixOpDirect
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_lwjgl_Math_MatrixOpNegate_MatrixOpDirect
* Method: execute
* Signature: (IIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_00024MatrixOpNegate_00024MatrixOpDirect_execute
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math_MatrixOpNegate_MatrixOpSafe */
#ifndef _Included_org_lwjgl_Math_MatrixOpNegate_MatrixOpSafe
#define _Included_org_lwjgl_Math_MatrixOpNegate_MatrixOpSafe
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_lwjgl_Math_MatrixOpNegate_MatrixOpSafe
* Method: execute
* Signature: (IIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_00024MatrixOpNegate_00024MatrixOpSafe_execute
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math_MatrixOpNormalise_MatrixOpDirect */
#ifndef _Included_org_lwjgl_Math_MatrixOpNormalise_MatrixOpDirect
#define _Included_org_lwjgl_Math_MatrixOpNormalise_MatrixOpDirect
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_lwjgl_Math_MatrixOpNormalise_MatrixOpDirect
* Method: execute
* Signature: (IIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_00024MatrixOpNormalise_00024MatrixOpDirect_execute
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math_MatrixOpNormalise_MatrixOpSafe */
#ifndef _Included_org_lwjgl_Math_MatrixOpNormalise_MatrixOpSafe
#define _Included_org_lwjgl_Math_MatrixOpNormalise_MatrixOpSafe
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_lwjgl_Math_MatrixOpNormalise_MatrixOpSafe
* Method: execute
* Signature: (IIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_00024MatrixOpNormalise_00024MatrixOpSafe_execute
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math_MatrixOpSubtract_MatrixOpDirect */
#ifndef _Included_org_lwjgl_Math_MatrixOpSubtract_MatrixOpDirect
#define _Included_org_lwjgl_Math_MatrixOpSubtract_MatrixOpDirect
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_lwjgl_Math_MatrixOpSubtract_MatrixOpDirect
* Method: execute
* Signature: (IIIIIZIIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_00024MatrixOpSubtract_00024MatrixOpDirect_execute
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jboolean, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_lwjgl_Math_MatrixOpSubtract_MatrixOpSafe */
#ifndef _Included_org_lwjgl_Math_MatrixOpSubtract_MatrixOpSafe
#define _Included_org_lwjgl_Math_MatrixOpSubtract_MatrixOpSafe
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_lwjgl_Math_MatrixOpSubtract_MatrixOpSafe
* Method: execute
* Signature: (IIIIIZIIIIIZIIZ)V
*/
JNIEXPORT void JNICALL Java_org_lwjgl_Math_00024MatrixOpSubtract_00024MatrixOpSafe_execute
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jboolean, jint, jint, jint, jint, jint, jboolean, jint, jint, jboolean);
#ifdef __cplusplus
}
#endif
#endif