JOML-CI / JOML

A Java math library for OpenGL rendering calculations
MIT License
728 stars 104 forks source link

Add Vector3i(float/double x,y,z) and test case #269

Closed pollend closed 4 years ago

pollend commented 4 years ago

I noticed that Vector3i(Vector2dc,float/double z) only modifies the local value and does not apply those value to Vector3i. I also added new Vector3i(float/double, mode).

Vector3i v1 = new Vector3i(0.0f,.6f,.7f, RoundingMode.FLOOR);
Vector3i v3 = new Vector3i(new Vector3f(9.5f,1.6f,5.0f), RoundingMode.FLOOR);
Vector3i v4 = new Vector3i(new Vector2d(9.5f,1.6f),5.0f, RoundingMode.FLOOR);
skaldarnar commented 4 years ago

@httpdigest any chance to get your attention here? Are you accepting PRs like this for JOML? We would like to work with this change (and all the others proposed by @pollend) in https://github.com/MovingBlocks/Terasology. These are troubling times for all of us, so if we can help you in any way in getting these PRs merged please let us know!