Skip to content

Releases: Kright/ScalaGameMath

v0.4.7

28 Jul 17:06

Choose a tag to compare

Fix bug in Point.projectOntoLine

So fixed method, when projecting normalized Point onto normalized line produces normalized point.

v0.4.6 Improve pga3d

25 Jul 18:23

Choose a tag to compare

Refactor code generation, add more generated methods:

  • Projections: from point to line and plane, from line to plane
  • Methods for casting, for example Motor.toPointUnsafe discarding all other fields.

minot fix, add pga3d to list of sub-projects

27 Jun 13:59

Choose a tag to compare

minor fix - add pga3d project into list of sub-projects

v0.4.4

21 May 21:01

Choose a tag to compare

Add geometric algebra
Add code generator and generated library for PGA in 3d.

Code with geometric algebra is experimental, but it has some tests. For example, for calculation of precession of free rotating body in 3d.

v0.4.2

17 Apr 15:23

Choose a tag to compare

Add module with symbolic calculations

v0.4.1

16 Mar 17:51

Choose a tag to compare

change modules structure

v0.4.0

14 Mar 23:27

Choose a tag to compare

Breaking change: classes were moved from com.kright to com.github.kright

Project was split into subprojects, so it is possible to import math classes without physics or swizzle operators.

v0.3.0

26 Nov 14:54

Choose a tag to compare

  • Add physics simulation for system of bodies with springs between them.
  • Add Joint3d interface and several implementations.
  • Remove old State3dDerivative class, use State3d instead. Old class was incorrect in cases with more than second order of precision.

v0.2.7

13 Oct 10:16

Choose a tag to compare

Add swizzle operators for Vectors.

import com.kright.math.{Vector3d, Vector4d}

val v = Vector4d(1, 2, 3, 4)
v.yx = v.xy
// v == (2, 1, 3, 4)
v.xy = v.yx
// v == (1, 2, 3, 4)
v = Vector3d(1, 2, 3).xyzz
// v == (1, 2, 3, 3)

v0.2.6

14 Nov 09:59

Choose a tag to compare

Workaround for jitpack because previous release was broken