Update
This commit is contained in:
parent
5770d156d6
commit
52f38242af
@ -36,7 +36,7 @@ function vector2:vxld(vector: vec2) -> vec2
|
|||||||
```lua
|
```lua
|
||||||
function vector2:dot(vector: vec2) -> number
|
function vector2:dot(vector: vec2) -> number
|
||||||
```
|
```
|
||||||
|
Векторное (внутреннее) произведение
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
function vector2:lerp(b: vec2, t: number; t∈[0,1]) -> vec2
|
function vector2:lerp(b: vec2, t: number; t∈[0,1]) -> vec2
|
||||||
@ -51,7 +51,7 @@ function vector2:dist(vector: vec2) -> number
|
|||||||
```lua
|
```lua
|
||||||
function vector2:cross(vector: vec2) -> number
|
function vector2:cross(vector: vec2) -> number
|
||||||
```
|
```
|
||||||
Векторное произведение
|
Векторное (внешнее) произведение
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
function vector2:rot(angle: number->rad, axis: str, convert2deg: bool) -> vec2
|
function vector2:rot(angle: number->rad, axis: str, convert2deg: bool) -> vec2
|
||||||
Loading…
x
Reference in New Issue
Block a user