gingerBill
fc4fdd588e
Remove usage of do in core library
2020-09-23 17:17:14 +01:00
gingerBill
77829af9de
Fix delete("") on -llvm-api; Fix linalg stuff
2020-09-11 13:46:52 +01:00
gingerBill
97846d8390
Clean up quaternion_from_matrix(3|4) code
2020-09-10 21:19:59 +01:00
gingerBill
079b887313
Make procedure names consistent
2020-09-10 17:32:18 +01:00
gingerBill
8f38b06c60
Add sanity conversion for rand.norm_float64
2020-09-10 15:42:07 +01:00
gingerBill
993fc577b2
Clarify euler angle procedures better
2020-09-10 15:33:50 +01:00
gingerBill
824491f410
Clean up Euler Angle code for math/linalg
2020-09-10 15:23:08 +01:00
gingerBill
c1149dbdee
Update math and math/linalg; add "pure_none" calling convention
2020-09-10 15:00:19 +01:00
gingerBill
2dfa3a5df7
Fix typo
2020-09-07 14:40:36 +01:00
gingerBill
1064622ff7
Improve math/rand functionality
2020-09-07 14:38:01 +01:00
Michael Kutowski
7b0ba76915
Update specific.odin
2020-08-29 22:33:24 +02:00
Michael Kutowski
12895de9ac
fix hsl math.mod to usual hsl conversion
2020-08-29 21:49:49 +02:00
gingerBill
9fd35776fd
Fix typos in math.odin
2020-08-04 14:40:11 +01:00
gingerBill
86448ee044
Add raw_data to replace cases in which &x[0] was used
2020-06-29 15:58:24 +01:00
gingerBill
239f3c0418
Merge pull request #672 from foxnne/fixwrap
...
Fix wrap in core:math.
2020-06-03 14:57:43 +01:00
foxnne
437d5e28cd
fix wrap in core:math
2020-06-02 00:37:06 -05:00
Kevin Watters
6c7fc4212a
Remove intrinsics import
...
When using `linalg` with the `-vet` compiler switch, you get the warning/error:
`odin/core/math/linalg/specific.odin(4:8) 'intrinsics' declared but not used`
2020-06-01 18:44:47 -04:00
gingerBill
8589af1458
Improve bits.rotate_left*
2020-05-31 16:19:08 +01:00
gingerBill
5eaef091e2
Update math/bits
2020-05-30 12:24:00 +01:00
gingerBill
baf5b9edc3
Add runtime.bswap_* required for -llvm-api
2020-04-11 19:26:16 +01:00
gingerBill
b0d668d254
Fix math.atan
2020-04-04 13:02:39 +01:00
gingerBill
d3c2191cf7
Fix formatting
2020-03-30 12:38:09 +01:00
vassvik
dd13cf637e
Fix linalg.euler_angles_from_quaternion
2020-03-30 13:29:01 +02:00
gingerBill
e92fdb4a99
x if cond else y and x when cond else y expressions
2020-03-05 20:34:30 +00:00
vassvik
6d67567453
Fix linalg.matrix_mul_vector.
...
Incorrect index.
2020-02-09 18:47:02 +01:00
vassvik
0c09cb9c12
Fix math.acos and math.asin, add f64 overloads.
2020-02-06 13:35:55 +01:00
gingerBill
3bd00fd6b7
Add thread.Pool with example in demo.odin; Update linalg to support handness changes for projection matrices
2020-01-02 15:07:12 +00:00
gingerBill
16a7c55334
Add x y z w fields to quaternion types; Improve linalg quaternion mathematics
2020-01-01 16:14:00 +00:00
gingerBill
42678848b2
Rename math/bits package name to math_bits
2019-12-31 12:27:31 +00:00
gingerBill
ab52f8d795
Move definition of mem.Allocator and log.Logger to package runtime, to reduce import cycle magic
2019-12-31 12:15:19 +00:00
gingerBill
2d70a784d1
Add quaternion_look_at orientation procedure to package math/linalg
2019-12-29 20:35:27 +00:00
gingerBill
8ee41c20af
Add more to package math
2019-12-28 23:48:15 +00:00
gingerBill
11c705508d
Split linalg into general and specific parts
2019-12-28 23:09:43 +00:00
gingerBill
1bc6e6a7cc
Add linalg.vector_lerp, linalg.vector_unlerp
2019-12-28 23:07:31 +00:00
gingerBill
33a458c520
Update package math/linalg
2019-12-28 23:00:13 +00:00
gingerBill
6a7ccd8c0a
Add new procedures for package math: atan2, asin, acos, atan, sin_bit, ldexp
2019-12-28 18:12:27 +00:00
gingerBill
1d14b3059e
Fix Internal Compiler Error: Type_Info for 'XXX' could not be found #507
2019-12-22 14:16:56 +00:00
vassvik
2d97e1dee3
Fix NaN checks in core:math.classify
...
Currently the classify procedures checks for NaNs using the check `x != x`, which is always false for NaNs and therefore that case is never entered. Using `!(x == x)` will work on the other hand.
2019-12-12 19:12:12 +01:00
gingerBill
098684a6fe
Add 128-bit random procedures to package math/rand
2019-11-10 18:47:16 +00:00
vassvik
04a25b11ad
Fix incorrect math.linalg.cross3 indices.
2019-11-04 17:39:26 +01:00
gingerBill
f9aaff99c6
Fix linalg.mul; add linalg.Matrix1xN
2019-11-02 10:30:11 +00:00
gingerBill
416ff149bd
Fix procedure group "best fit" algorithm for polymorphic procedures
2019-10-27 19:42:21 +00:00
gingerBill
a29a6d9285
Fix typos in package linalg; Fix norm_float64 in package rand
2019-10-27 18:43:40 +00:00
gingerBill
5e81fc72b9
New package math and package math/linalg
2019-10-27 10:35:35 +00:00
Joshua Mark Manton
96f0a08725
Fix scale_f32 and scale_vec3 from returning the wrong variable.
2019-07-20 13:15:51 -07:00
gingerBill
8ee7ee7120
Fix core library for the new procedure parameter addressing mode
2019-07-15 22:16:27 +01:00
gingerBill
c40acd008e
Add i128/u128 support for bit sets
2019-05-28 20:53:56 +01:00
gingerBill
fb3d73cb20
Make core library use a..<b rather than doing a..b-1
2019-05-28 12:52:20 +01:00
gingerBill
40135cbc66
Add float64_range and float32_range to package math/rand
2019-04-28 20:35:14 +01:00
gingerBill
8b09ab6fe7
Move core:bits to core:math/bits
2019-03-24 20:39:01 +00:00