Skip to content

Releases: treeform/vmath

1.0.7

29 May 16:30
Compare
Choose a tag to compare
Merge branch 'master' of github.com:treeform/vmath

1.0.6

08 May 18:11
Compare
Choose a tag to compare
1.0.6

1.0.5

08 May 18:03
Compare
Choose a tag to compare
1.0.5

1.0.4: Merge pull request #31 from guzba/master

28 Apr 04:15
b1722b9
Compare
Choose a tag to compare

1.0.3

18 Apr 23:52
Compare
Choose a tag to compare
1.0.3: Add fractional, speed up lerp.

1.0.2

26 Mar 22:34
Compare
Choose a tag to compare
1.0.2: Fix default generic params.

1.0.1

26 Mar 22:19
Compare
Choose a tag to compare
Fix bug with perspective and add back nlerp.

vmath 1.0.0 - Breaking Changes. (#29)

26 Mar 21:01
0f80873
Compare
Choose a tag to compare
# Added a bunch of new types:

Type  | Constructor | Description
------|-------------| ---------------------------------------------------
BVec# | bvec#       | a vector of booleans
IVec# | ivec#       | a vector of signed integers
UVec# | uvec#       | a vector of unsigned integers
Vec#  | vec#        | a vector of single-precision floating-point numbers
DVec# | dvec#       | a vector of double-precision floating-point numbers

## And these types:

NIM     | GLSL   | 2     | 3     | 4     | 9     | 16    | 4     |
--------|--------|-------|-------|-------|-------|-------|-------|
bool    | bool   | BVec2 | BVec3 | BVec4 |       |       |       |
int32   | int    | IVec2 | IVec3 | IVec4 |       |       |       |
uint32  | uint   | UVec2 | UVec3 | UVec4 |       |       |       |
float32 | float  | Vec2  | Vec3  | Vec4  | Mat3  | Mat4  | Quat  |
float64 | double | DVec2 | DVec3 | DVec4 | DMat3 | DMat4 | DQuat |

# 0.x.x to 1.0.0 vmath breaking changes:

* `vec3(v)` no longer works please use `vec3(v.x, v.y, 0)` instead.
* `vec3(v, 0)` no longer works please use `vec3(v.x, v.y, 0)` instead.
* `2 * v` no longer works due to more vec types please use `v * 2` instead.
* `m[15]` no longer works because matrices are now m[x, y].
* Concept of 3x3 rotation 3d matrix was removed.
* `angleBetween` got renamed to `angle(a, b)`
* `scaleMat` got renamed to `scale(v)`
* `rotationMat3` got renamed to `rotate(x)`

0.5.0

28 Feb 05:51
Compare
Choose a tag to compare
Update API doc.

0.4.1: Merge pull request #26 from elliotwaite/patch-1

07 Jan 03:11
23e88bb
Compare
Choose a tag to compare