gingerBill
c4cb2f2378
Add "contextless" to core:math/linalg procedures
2023-05-22 12:07:37 +01:00
gingerBill
74ce99e0d7
Add @(require_results) core:math/linalg procedures
2023-05-22 12:05:56 +01:00
Luxko
00e704b216
fix linalg.angle_from_quaternion
...
fixes #1894 .2:
```odin
package laa
import "core:fmt"
import la "core:math/linalg"
main:: proc() {
angle := f32(0.5)
quat := la.quaternion_angle_axis_f32(angle,la.Vector3f32{0,0,1})
fmt.printf("retreived: %0.8f\n", la.angle_from_quaternion(quat)) // should be 0.5, but wasn't
}
```
2022-07-23 00:59:45 +08:00
gingerBill
c81fd2e5dd
Fix #1644
2022-04-26 11:45:46 +01:00
gingerBill
af612bc7e9
Update matrix types to be the native Odin matrix types
2022-01-10 11:32:27 +00:00
gingerBill
b9701340b8
Add linalg.matrix4_look_at_from_fru
2021-11-13 19:15:37 +00:00
gingerBill
bff66ff600
Remove unnecessary operations
2021-09-08 19:07:25 +01:00
gingerBill
720884e0f1
Strip even more semicolons if followed by a } or ) on the same line
2021-08-31 23:47:57 +01:00
gingerBill
251da264ed
Remove unneeded semicolons from the core library
2021-08-31 22:21:13 +01:00
gingerBill
f41150f8e9
Fix transposing
2021-06-04 15:10:53 +01:00
vassvik
8169cb4853
Fix missing newlines in core:math/linalg/specific.odin
2021-04-09 09:21:20 +02:00
gingerBill
0fc04a939e
Add f16 support to core:math/linalg
2021-04-01 11:12:40 +01: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
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
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
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
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
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
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
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
11c705508d
Split linalg into general and specific parts
2019-12-28 23:09:43 +00:00