docs
This commit is contained in:
parent
3b4e917410
commit
b1af66cb22
2 changed files with 8 additions and 5 deletions
2
TODO
2
TODO
|
|
@ -7,7 +7,7 @@
|
||||||
[Jesse]
|
[Jesse]
|
||||||
001 [arch] create module to determine simd support
|
001 [arch] create module to determine simd support
|
||||||
011 [math] add more Vec math procedures
|
011 [math] add more Vec math procedures
|
||||||
034 [math] Rect 'Vec(4, T)' type + rectcut
|
034 [math] Rect '#type,distinct Vec(4, T)' type + rectcut
|
||||||
002 [math] use simd for Mat4 operations
|
002 [math] use simd for Mat4 operations
|
||||||
041 [math] small test suite
|
041 [math] small test suite
|
||||||
|
|
||||||
|
|
|
||||||
11
math/vec.jai
11
math/vec.jai
|
|
@ -3,10 +3,13 @@
|
||||||
|
|
||||||
The values can be accessed via array index or their common component names:
|
The values can be accessed via array index or their common component names:
|
||||||
|
|
||||||
- u, v
|
- u, v, d
|
||||||
- x, y, z, w
|
- x, y, z, w
|
||||||
- r, g, b, a
|
- r, g, b, a
|
||||||
- c0, c1, c2, c3, ... cN
|
|
||||||
|
- x, y, width, height
|
||||||
|
- min_x, min_y, max_x, max_y
|
||||||
|
- c0, c1, c2, c3, ... cN
|
||||||
|
|
||||||
For most use cases, opt for the named variants of this type:
|
For most use cases, opt for the named variants of this type:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue