mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
some fix
This commit is contained in:
parent
87b3697e1c
commit
d33755538a
@ -50,7 +50,7 @@ class vec2:
|
|||||||
def smooth_damp(current: vec2, target: vec2, current_velocity: vec2, smooth_time: float, max_speed: float, delta_time: float) -> tuple[vec2, vec2]:
|
def smooth_damp(current: vec2, target: vec2, current_velocity: vec2, smooth_time: float, max_speed: float, delta_time: float) -> tuple[vec2, vec2]:
|
||||||
...
|
...
|
||||||
|
|
||||||
class vec3(_StructLike['vec3']):
|
class vec3:
|
||||||
x: float
|
x: float
|
||||||
y: float
|
y: float
|
||||||
z: float
|
z: float
|
||||||
|
@ -44,7 +44,7 @@ class vec2:
|
|||||||
Returns a new value that is closer to the target and current velocity.
|
Returns a new value that is closer to the target and current velocity.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
class vec3(_StructLike['vec3']):
|
class vec3:
|
||||||
x: float
|
x: float
|
||||||
y: float
|
y: float
|
||||||
z: float
|
z: float
|
||||||
|
Loading…
x
Reference in New Issue
Block a user