Sebastian Pahnke
f23e226854
Rename adjugate to cofactor to keep existing usages for inverse and determinant correct and add new adjugate procedures
2024-12-28 10:29:43 +01:00
Gabriel Pariat
e0b7bfd21e
add trunc to glsl linalg
2024-12-17 13:06:59 -05:00
gingerBill
e17dfcf7a2
Remove distinct from core:math/linalg/(glsl|hlsl) types
2024-09-18 00:13:34 +01:00
IllusionMan1212
1f5f417116
fix(linalg/glsl): incorrect quat by vector3 multiplication
2024-04-28 21:44:34 +02:00
gingerBill
3e7e779abf
Replace core:* to base:* where appropriate
2024-01-28 22:18:51 +00:00
gingerBill
f67691c457
Move matrix related procedures to the different linalg packages
2024-01-28 21:28:54 +00:00
gingerBill
396debb9cb
Add @(require_results) to core:math/linalg's glsl and hlsl packages
2023-05-22 12:11:18 +01:00
KyleRhoads45
87a1792677
Fix #2545 - Typo in vec4 lerping procedures
2023-05-18 13:19:22 -07:00
gingerBill
ebb8ca7c26
Add round to linalg_glsl_math.odin
2022-01-30 21:35:05 +00:00
Jesse Stiller
62cc752066
Added round to HLSL and GLSL, and isinf/isfinite + isnan to HLSL
2022-01-30 13:57:01 +10:00
Jesse Stiller
d4ea02a877
Extraneous parameters in hlsl/glsl.saturate removed
...
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.
2022-01-17 12:19:06 +10:00
gingerBill
f15bb0b424
Fix quaternion casting
2022-01-03 19:45:27 +00:00
gingerBill
d551144841
Add inverse for dmatN types
2021-11-04 16:09:19 +00:00
gingerBill
84540d7aa2
Add smoothstep
2021-11-04 15:57:27 +00:00
gingerBill
95f36d4fa5
Minor reorganization
2021-11-04 14:54:55 +00:00
gingerBill
3accf4048e
Add f64 variants of all types and procedures
2021-11-04 14:52:03 +00:00
gingerBill
eb05879148
Add more comments
2021-11-04 14:25:34 +00:00
gingerBill
a882118c56
Add comments
2021-11-04 14:20:47 +00:00
gingerBill
57d15ac6e7
Remove unneeded suffixes
2021-11-04 14:11:34 +00:00
gingerBill
e3cfdf6982
Remove build tag
2021-11-04 14:11:04 +00:00
gingerBill
017fe10762
core:math/linalg/glsl - GLSL-like mathematics types and operations
2021-11-04 14:09:12 +00:00