Colby Klein
|
ef46425cfe
|
Merge pull request #29 from mcclure/quat-component
Quaternions: Add "unpacked" versions of to_angle_axis and from_angle
|
2018-02-22 04:07:06 -08:00 |
|
Colby Klein
|
cf704d760e
|
Merge pull request #31 from mcclure/quat-mult
Clarify handedness of quaternion multiplication in documentation
|
2018-01-30 11:50:57 -08:00 |
|
Colby Klein
|
3d09c3975a
|
Merge pull request #28 from mcclure/color-cleanup
Various cleanup on color class
|
2018-01-30 11:50:20 -08:00 |
|
mcc
|
00a911f481
|
Add myself as contributor
|
2018-01-27 00:47:05 -05:00 |
|
mcc
|
7c18a65695
|
Bound2, bound3: Add tests and fix several major bugs so that those tests pass.
|
2018-01-27 00:46:56 -05:00 |
|
mcc
|
a41af4702b
|
Quaternions: Add tests for component-wise to_angle_axis and from_angle_axis
|
2018-01-26 21:05:03 -05:00 |
|
mcc
|
5637034445
|
Clarify handedness of quaternion multiplication
|
2018-01-26 10:47:22 -05:00 |
|
mcc
|
c9cacf5d58
|
Axis-aligned bounding box classes for 2 and 3 dimensions
|
2018-01-26 10:30:03 -05:00 |
|
mcc
|
b5beacffc7
|
component_min(a,b) and component_max(a,b) functions for vector classes
|
2018-01-26 10:06:01 -05:00 |
|
mcc
|
bb4d945c94
|
Various cleanup on color class
- Expose table versions of color-to-hsv and hsv-to-color
- Proper behavior on color.new(nil)
- Documentation
|
2018-01-26 10:00:38 -05:00 |
|
mcc
|
d4fb346f0c
|
Quaternions: Add "unpacked" versions of to_angle_axis and from_angle_axis (passing x, y and z in and out instead of using a vec3)
|
2018-01-26 09:33:25 -05:00 |
|
Colby Klein
|
c9e45f679e
|
Merge pull request #27 from bjornbytes/mat4-reflect
mat4:reflect;
|
2018-01-06 09:08:11 -08:00 |
|
bjorn
|
2ac5321bdf
|
mat4:reflect;
|
2018-01-05 22:08:11 -08:00 |
|
Colby Klein
|
5f9fa96e10
|
fix typo
|
2017-11-17 09:52:58 -08:00 |
|
Colby Klein
|
24bcae96e3
|
probably fix look_at
|
2017-11-17 09:48:22 -08:00 |
|
Colby Klein
|
0ff68c69fd
|
fix lerp for vec3, update tests for broken lerp case
|
2017-05-19 09:49:07 -07:00 |
|
Colby Klein
|
f6ad9335cc
|
Merge pull request #23 from nmhmap/patch-1
fixed functionality of utils.lerp()
|
2017-05-19 09:35:01 -07:00 |
|
YellowTide
|
fbf017786e
|
fixed functionality of utils.lerp()
((a - b) + b)*t = a*t
switched to
(1-t)*b + a*t
visualization of change:
https://www.desmos.com/calculator/91ge9obdoi
|
2017-05-19 07:01:07 -05:00 |
|
Colby Klein
|
b53cebb8ca
|
fix comment
|
2017-03-29 07:46:55 -07:00 |
|
Colby Klein
|
65e3676af5
|
swap lerp arg order, fix tests
|
2017-03-29 07:42:40 -07:00 |
|
Colby Klein
|
c7622dd91b
|
add intersect.ray_capsule
|
2017-03-29 07:24:38 -07:00 |
|
Colby Klein
|
0b0bea16ef
|
add some lerp/decay tests
|
2017-03-29 05:32:31 -07:00 |
|
Colby Klein
|
b122e4d726
|
fix typo
|
2017-03-29 05:32:16 -07:00 |
|
Colby Klein
|
e8228f8c8a
|
fix lerp for types like vec3 by changing order, add decay
|
2017-03-29 05:32:04 -07:00 |
|
Colby Klein
|
3a18ed0f8c
|
temporarily revert mat4.lua due to bugs
|
2016-12-22 11:17:58 -08:00 |
|
Colby Klein
|
9776dbbf39
|
update quat test to reflect that pow() needs unit quats
|
2016-12-16 00:46:43 -08:00 |
|
Pedro Gimeno Fortea
|
d9108a198a
|
Make pow work with non-integer exponents.
As a side effect, it no longer works with non-normalized quaternions.
|
2016-12-16 00:32:52 -08:00 |
|
Colby Klein
|
8b4229a681
|
remove unused atom build
|
2016-12-15 18:06:30 -08:00 |
|
Colby Klein
|
736ef2fcf8
|
fix doc comment for mat4.look_at
|
2016-12-15 16:44:09 -08:00 |
|
Colby Klein
|
55a6d666b4
|
Merge pull request #19 from excessive/unrefactor
revert usage back to no-out-variables & bump version to 1.2.9
|
2016-12-15 16:24:10 -08:00 |
|
karai17
|
6b75545968
|
bump version
|
2016-12-15 20:18:03 -04:00 |
|
karai17
|
08b23e394b
|
Updated tests, fixed couple bugs
|
2016-12-15 19:57:31 -04:00 |
|
karai17
|
a7f9247838
|
Unfactored the rest of cpml. Completely untested (all tests are broken)
|
2016-12-15 04:34:46 -04:00 |
|
karai17
|
e3cafd6c2f
|
tidied up color
|
2016-12-14 20:45:11 -04:00 |
|
karai17
|
b3be2a154a
|
unfactor quat
|
2016-12-14 20:22:22 -04:00 |
|
karai17
|
8df45859e4
|
unfactor vec2 and vec3
|
2016-12-14 03:44:34 -04:00 |
|
Colby Klein
|
7e46afa280
|
make quat.from_direction's up argument optional (defaults to +z)
|
2016-12-13 15:12:17 -08:00 |
|
Colby Klein
|
6ec87c3cc5
|
add capsule intersection
|
2016-12-13 15:10:46 -08:00 |
|
Colby Klein
|
5fffa2f9d8
|
don't give NaN's when normalizing 0
|
2016-12-13 15:10:09 -08:00 |
|
Colby Klein
|
ff7cc186e7
|
add mat4 * vec3 (implicit w=1)
|
2016-12-13 15:09:38 -08:00 |
|
Colby Klein
|
e5437e1899
|
Update README.md
|
2016-09-16 02:21:37 -07:00 |
|
Colby Klein
|
6b5e4ce004
|
Add rockspec courtesy of @Alloyed. Fixes #18
|
2016-09-16 02:09:45 -07:00 |
|
Colby Klein
|
d19a5addcb
|
Fix failing tests caused by mul->scale
|
2016-08-21 20:42:44 -07:00 |
|
karai17
|
69f30173b8
|
Fixed quat.lerp
|
2016-08-14 15:39:24 -03:00 |
|
karai17
|
799e1607bc
|
Updated to work outside of a sanitized environment.
|
2016-08-14 03:36:36 -03:00 |
|
karai17
|
20f9625ae2
|
Fixed vec2 and vec3 mul/div/scale
|
2016-08-14 01:29:24 -03:00 |
|
Colby Klein
|
a5d4413cd4
|
Merge with master.
|
2016-08-13 09:58:50 -07:00 |
|
Colby Klein
|
ad39870082
|
Bump version to 0.9.0
|
2016-08-13 09:40:44 -07:00 |
|
Colby Klein
|
56fd295874
|
Make simplex return a function instead of a whole module.
|
2016-08-13 09:37:08 -07:00 |
|
Colby Klein
|
32cf0e8608
|
Remove FFI from color. It's broken.
|
2016-08-13 09:36:25 -07:00 |
|