aboutsummaryrefslogtreecommitdiff
path: root/core/math/linalg/specific.odin
Commit message (Collapse)AuthorAgeFilesLines
* Fixed issue where the linalg.quaternion_from_forward_and_up could return ↵Mathias Mohn Mørch2025-10-301-3/+3
| | | | incorrect values in certain scenarioes
* Fix srgb <-> linear rgb conversion functions in `core:math/linalg` and add ↵Franz Hoeltermann2025-10-021-60/+75
| | | | implementations for vector3
* Fix 2x2 matrix inverses in specific.odinprescientmoon2025-01-231-6/+6
|
* Fix #3726gingerBill2024-06-101-3/+3
|
* Properly initialize return matrices in linalg.orthonormalizespindlebink2024-03-091-0/+6
|
* Remove bounds checking on a lot of linalgLucas Perlind2024-02-131-101/+101
|
* Revert "Change minor/adjoint to be `row, col` from `c, r` to be consistent ↵Lucas Perlind2024-02-131-153/+153
| | | | | | with `[row, col]` syntax; Add `#no_bounds_check` were appropriate" This reverts commit 5dd2e38affc90b075a19777b044f98489235f24a.
* Change minor/adjoint to be `row, col` from `c, r` to be consistent with ↵gingerBill2024-02-121-153/+153
| | | | `[row, col]` syntax; Add `#no_bounds_check` were appropriate
* Add `angle_between` and `matrix2_rotate`gingerBill2024-02-061-0/+37
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-1/+1
|
* Move matrix related procedures to the different `linalg` packagesgingerBill2024-01-281-6/+6
|
* Remove `distinct` from the specific typesgingerBill2024-01-051-64/+64
|
* Add "contextless" to `core:math/linalg` proceduresgingerBill2023-05-221-185/+185
|
* Add `@(require_results)` `core:math/linalg` proceduresgingerBill2023-05-221-0/+185
|
* fix `linalg.angle_from_quaternion`Luxko2022-07-231-3/+3
| | | | | | | | | | | | | | 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 } ```
* Fix #1644gingerBill2022-04-261-3/+3
|
* Update matrix types to be the native Odin `matrix` typesgingerBill2022-01-101-543/+520
|
* Add `linalg.matrix4_look_at_from_fru`gingerBill2021-11-131-0/+49
|
* Remove unnecessary operationsgingerBill2021-09-081-6/+6
|
* Strip even more semicolons if followed by a `}` or `)` on the same linegingerBill2021-08-311-6/+6
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-311-1493/+1493
|
* Fix transposinggingerBill2021-06-041-6/+6
|
* Fix missing newlines in core:math/linalg/specific.odinvassvik2021-04-091-2/+4
|
* Add `f16` support to core:math/linalggingerBill2021-04-011-21/+810
|
* Minor update to math/linalggingerBill2021-03-031-5/+72
|
* Improve math/linalg to support both f32 and f64 basic procedures for the ↵gingerBill2021-03-031-148/+1124
| | | | specific*.odin files
* Remove usage of `do` in core librarygingerBill2020-09-231-2/+2
|
* Fix `delete("")` on `-llvm-api`; Fix linalg stuffgingerBill2020-09-111-0/+147
|
* Clean up quaternion_from_matrix(3|4) codegingerBill2020-09-101-138/+77
|
* Clean up Euler Angle code for math/linalggingerBill2020-09-101-46/+3
|
* Update math and math/linalg; add "pure_none" calling conventiongingerBill2020-09-101-117/+147
|
* Update specific.odinMichael Kutowski2020-08-291-1/+1
|
* fix hsl math.mod to usual hsl conversionMichael Kutowski2020-08-291-1/+3
|
* Remove `intrinsics` importKevin Watters2020-06-011-1/+0
| | | | | 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`
* Fix formattinggingerBill2020-03-301-18/+18
|
* Fix linalg.euler_angles_from_quaternionvassvik2020-03-301-1/+1
|
* `x if cond else y` and `x when cond else y` expressionsgingerBill2020-03-051-10/+22
|
* Add `thread.Pool` with example in demo.odin; Update linalg to support ↵gingerBill2020-01-021-8/+23
| | | | handness changes for projection matrices
* Add `x y z w` fields to quaternion types; Improve linalg quaternion mathematicsgingerBill2020-01-011-60/+148
|
* Move definition of mem.Allocator and log.Logger to `package runtime`, to ↵gingerBill2019-12-311-14/+80
| | | | reduce import cycle magic
* Add `quaternion_look_at` orientation procedure to `package math/linalg`gingerBill2019-12-291-5/+26
|
* Split linalg into general and specific partsgingerBill2019-12-281-0/+596