Skip to content

Commit 5e7469b

Browse files
committed
up
1 parent 09f8500 commit 5e7469b

File tree

2 files changed

+6
-65
lines changed

2 files changed

+6
-65
lines changed

src/main/kotlin/glm_/glm.kt

+1-61
Original file line numberDiff line numberDiff line change
@@ -88,66 +88,6 @@ class Java {
8888

8989
companion object {
9090
@JvmField
91-
val glm = Glm
92-
}
93-
94-
object Glm :
95-
mat2x2_operators,
96-
mat3x3_operators,
97-
mat4x4_operators,
98-
99-
func_common,
100-
func_vector2_common,
101-
func_vector3_common,
102-
func_vector4_common,
103-
104-
func_vector1_relational,
105-
func_vector2_relational,
106-
func_vector3_relational,
107-
func_vector4_relational,
108-
func_vectorBoolean_relational,
109-
110-
func_matrix,
111-
112-
func_exponential,
113-
func_geometric,
114-
func_trigonometric,
115-
116-
matrix_transform,
117-
quat_func,
118-
119-
epsilon,
120-
121-
componentWise,
122-
123-
round,
124-
125-
func_integer,
126-
127-
bitfield,
128-
129-
colorSpace,
130-
131-
gauss,
132-
133-
noise,
134-
135-
packing,
136-
func_packing,
137-
138-
random {
139-
140-
@JvmField
141-
val detail = Detail
142-
143-
@JvmField
144-
val PI = kotlin.math.PI
145-
@JvmField
146-
val PIf = kotlin.math.PI.f
147-
148-
@JvmField
149-
val epsilonF = 1.1920928955078125e-7f
150-
@JvmField
151-
val epsilon = 2.2204460492503131e-16
91+
val glm = glm_.glm
15292
}
15393
}

src/test/java/glm_/Test.java

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
package glm_;
22

3-
import glm_.Java.Glm;
43
import glm_.mat4x4.Mat4;
54
import glm_.vec2.Vec2;
65
import glm_.vec3.Vec3;
76

8-
//import static glm.Java.glm;
7+
//import static glm_.glm;
8+
9+
import static glm_.Java.glm;
910

1011
/**
1112
* Created by GBarbieri on 08.02.2017.
1213
*/
1314
public class Test {
1415

15-
final static Glm glm = Glm.INSTANCE;
16+
// final static Glm glm = Glm.INSTANCE;
1617

1718
public static void main(String[] argvs) {
1819
glm.normalize(3.4);
19-
Glm.detail.mod289(new Vec2());
20+
glm.detail.mod289(new Vec2());
2021

2122
Vec2 v = new Vec2(3, 4);
2223

0 commit comments

Comments
 (0)