diff --git a/docs/modules/linalg.md b/docs/modules/linalg.md index ec364413..e3f28a07 100644 --- a/docs/modules/linalg.md +++ b/docs/modules/linalg.md @@ -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]: ... -class vec3(_StructLike['vec3']): +class vec3: x: float y: float z: float diff --git a/include/typings/linalg.pyi b/include/typings/linalg.pyi index 7ed41ffa..6be3e036 100644 --- a/include/typings/linalg.pyi +++ b/include/typings/linalg.pyi @@ -44,7 +44,7 @@ class vec2: Returns a new value that is closer to the target and current velocity. """ -class vec3(_StructLike['vec3']): +class vec3: x: float y: float z: float