From 79549c6931d52306836f1a141c1fffec63936bdd Mon Sep 17 00:00:00 2001 From: Timon Ringwald Date: Tue, 23 Aug 2022 21:20:24 +0200 Subject: [PATCH] aliases improved --- aliases.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aliases.go b/aliases.go index 3abe9c6..89ec07b 100644 --- a/aliases.go +++ b/aliases.go @@ -1,7 +1,7 @@ package advmath -type Vec3f = Vec3[float64] -type Vec2f = Vec2[float64] +type Vec3f = Vec[float64, Vec3[float64]] +type Vec2f = Vec[float64, Vec2[float64]] -type Vec3i = Vec3[int] -type Vec2i = Vec2[int] +type Vec3i = Vec[int, Vec3[int]] +type Vec2i = Vec[int, Vec2[int]]