Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 18, 2024
1 parent aa1ec6e commit 0f96a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/lang/articles/math/math_module.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ u = v.rraa # vec4(1, 1, 2, 2)
- `ti.types.vector` is a function that accepts an integer and a primitive type and returns a vector type. For example: `vec5f = ti.types.vector(5, float)`. `vec5f` can then be used to instantiate 5D vectors or annotate data types of function arguments and struct members:
```python
vec5f = ti.types.vector(5, float)

@ti.kernel
def test(v: vec5f):
print(v.xyz)
Expand Down

0 comments on commit 0f96a6b

Please sign in to comment.