add dot and cross method as member to Vector2 and Vector3