Hey :slightly_smiling_face: Is there a better way...
# codereview
a
Hey 🙂 Is there a better way to do something like this?
testVec2
is indeed of type
Vec2
and
testVec3
of type
Vec3
but I don't get why the explicit cast is necessary nor the else branch since Vec is a sealed class...