aboutsummaryrefslogtreecommitdiff
path: root/core/math/linalg
Commit message (Collapse)AuthorAgeFilesLines
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-285-8/+8
|
* Move matrix related procedures to the different `linalg` packagesgingerBill2024-01-284-47/+829
|
* Fix linalg shadowing errorLucas Perlind2024-01-091-3/+3
|
* Remove `distinct` from the specific typesgingerBill2024-01-051-64/+64
|
* Enforce naming the parameters with `builtin.quaternion` to reduce confusiongingerBill2024-01-051-1/+1
|
* Add `@(require_results)` to `core:math/linalg`'s `glsl` and `hlsl` packagesgingerBill2023-05-224-1265/+1307
|
* Add "contextless" to `core:math/linalg` proceduresgingerBill2023-05-227-620/+620
|
* Add `@(require_results)` `core:math/linalg` proceduresgingerBill2023-05-227-24/+638
|
* Fix #2545 - Typo in vec4 lerping proceduresKyleRhoads452023-05-181-2/+2
|
* linalg/extended radians and degrees fixedJesse Stiller2023-04-271-4/+5
| | | | Renamed them to `to_degrees` and `to_radians` to match the same scalar functions in math--plus it helps clarify exactly what they do. And fixed a bug where the array overloads weren't being indexed.
* Fix #2389Mostafa Saad2023-03-171-4/+4
|
* Fix typo in linalg.anySaid Al Attrach2022-12-131-1/+1
|
* Add doc.odingingerBill2022-11-031-0/+2
|
* Fix #2052 typo in linalg.max_singlegingerBill2022-09-171-1/+1
|
* Change math/linalg/general.odin vector_length and vector_normalize to only ↵Phil2022-08-151-3/+3
| | | | accept vectors of float types rather than any numeric type
* 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 } ```
* wrong variable names in functionshfr42022-06-141-5/+5
|
* Fix #1644gingerBill2022-04-261-3/+3
|
* Add `round` to linalg_glsl_math.odingingerBill2022-01-301-0/+2
|
* Added round to HLSL and GLSL, and isinf/isfinite + isnan to HLSLJesse Stiller2022-01-303-0/+104
|
* Extraneous parameters in hlsl/glsl.saturate removedJesse Stiller2022-01-172-33/+32
| | | | | | This is a breaking change to anyone who used glsl/hlsl.saturate functions prior, but the y and z parameters never were used and do not conform to how the saturate function works in HLSL: https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-saturate Note however GLSL does not contain a saturate function, but removing it does not accomplish anything good IMO.
* Fix polymorphic matrix element with a minor hackgingerBill2022-01-101-4/+4
|
* Update matrix types to be the native Odin `matrix` typesgingerBill2022-01-106-2164/+2103
|
* Fix quaternion castinggingerBill2022-01-031-2/+2
|
* Fix conversion from float to quaterniongingerBill2021-12-311-2/+2
|
* Add `linalg.matrix4_look_at_from_fru`gingerBill2021-11-131-0/+49
|
* Add `core:math/linalg/hlsl`gingerBill2021-11-042-0/+1841
|
* Add inverse for dmatN typesgingerBill2021-11-041-4/+12
|
* Add `smoothstep`gingerBill2021-11-041-0/+25
|
* Minor reorganizationgingerBill2021-11-041-111/+114
|
* Add `f64` variants of all types and proceduresgingerBill2021-11-042-37/+695
|
* Add more commentsgingerBill2021-11-041-12/+16
|
* Add commentsgingerBill2021-11-041-2/+1
|
* Remove unneeded suffixesgingerBill2021-11-041-8/+8
|
* Remove build taggingerBill2021-11-041-1/+0
|
* `core:math/linalg/glsl` - GLSL-like mathematics types and operationsgingerBill2021-11-042-0/+1186
|
* Remove unnecessary operationsgingerBill2021-09-081-6/+6
|
* Strip even more semicolons if followed by a `}` or `)` on the same linegingerBill2021-08-313-33/+33
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-318-5036/+5036
|
* Enforce `core:builtin` and `core:intrinsics` for importsgingerBill2021-08-212-2/+2
|
* Add `#no_bounds_check` to linalg proceduresgingerBill2021-07-031-15/+10
|
* Improve `linalg.transpose` type determination for square matricesgingerBill2021-06-281-2/+1
|
* Fix transposinggingerBill2021-06-041-6/+6
|
* Fix typogingerBill2021-06-041-1/+1
|
* Fix linalg.transposegingerBill2021-06-031-1/+1
|
* Fix missing newlines in core:math/linalg/specific.odinvassvik2021-04-091-2/+4
|
* Add `f16` support to core:math/linalggingerBill2021-04-014-124/+2284
|
* Add `linalg.matrix_cast`gingerBill2021-03-261-2/+3
|
* Add `linalg.matrix_cast`gingerBill2021-03-261-4/+13
|
* Fix typo in cubic().Jeroen van Rijn2021-03-161-1/+1
|