This commit is contained in:
Cogitary 2024-03-16 00:26:15 +03:00 committed by GitHub
parent 5770d156d6
commit 52f38242af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ function vector2:vxld(vector: vec2) -> vec2
```lua
function vector2:dot(vector: vec2) -> number
```
Векторное (внутреннее) произведение
```lua
function vector2:lerp(b: vec2, t: number; t∈[0,1]) -> vec2
@ -51,7 +51,7 @@ function vector2:dist(vector: vec2) -> number
```lua
function vector2:cross(vector: vec2) -> number
```
Векторное произведение
Векторное (внешнее) произведение
```lua
function vector2:rot(angle: number->rad, axis: str, convert2deg: bool) -> vec2