gingerBill
43ac6ca8f4
Add linalg.matrix_cast
2021-03-26 16:24:56 +00:00
gingerBill
62d2656f69
Add linalg.matrix_cast
2021-03-26 14:33:46 +00:00
Jeroen van Rijn
d80670fe0c
Fix typo in cubic().
2021-03-16 16:34:59 +01:00
gingerBill
04e0cacd30
Update package core:math/linalg to support matrix3 euler angle operations
2021-03-16 12:14:54 +00:00
gingerBill
17eb0ce525
Minor update to math/linalg
2021-03-03 22:18:18 +00:00
gingerBill
619a977856
Improve math/linalg to support both f32 and f64 basic procedures for the specific*.odin files
2021-03-03 16:44:41 +00:00
gingerBill
b727b6438b
Minimize unneeded casts
2021-03-03 14:31:17 +00:00
gingerBill
731e6ca3a6
Merge branch 'master' of https://github.com/odin-lang/Odin
2021-02-23 20:40:09 +00:00
gingerBill
79eb46bce3
Replace inline uses in the rest of core with #force_inline
2021-02-23 20:39:59 +00:00
WalterPlinge
0e9dee62bf
Update extended.odin
2021-02-23 20:10:43 +00:00
gingerBill
28ed310f31
Remove "pure" and "pure_none" calling conventions
2021-02-23 13:10:23 +00:00
gingerBill
6ae619c0a6
Add to package math/bits bitfield_extract and bitfield_insert
2021-02-19 00:04:48 +00:00
Oskar Nordquist
60b9ef1f5d
Fix math.factorial()
2020-12-13 02:36:29 +01:00
gingerBill
f0683c9102
Merge branch 'master' into parser-experiments
2020-12-06 00:49:48 +00:00
gingerBill
6ee4f51670
Add new math procedure: inf_f32 inf_f64 nan_f32 nan_f64
2020-11-11 11:42:21 +00:00
gingerBill
54fbdabc38
Add experimental -insert-semicolon functionality to tokenizer and parser
2020-11-01 15:10:06 +00:00
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