BaseTool icon indicating copy to clipboard operation
BaseTool copied to clipboard

Add Vector3 extensions to Vector2

Open Paul-1379 opened this issue 7 months ago • 0 comments

Add these vector3 extensions to vector2:

  • ChangeX(float x), ChangeY(float y), ChangeZ(float z)
  • Clamp(Vector2 min, Vector2 max)
  • Lerp(Vector2 begin, Vector2 end)
  • InverseLerp(Vector2 begin, Vector2 end)
  • LimitLength(float length = 1f)

Paul-1379 avatar Jul 06 '24 10:07 Paul-1379