Skip to content
This repository was archived by the owner on Aug 23, 2020. It is now read-only.
This repository was archived by the owner on Aug 23, 2020. It is now read-only.

Some issues with the VecN library and compatibility with Vec2 #7

Open
@TheOneKevin

Description

@TheOneKevin

Sometimes you want to be able to do:
a.add(b).scalarMultiply(c).subtract(d)

  • See sample resolution here.

Also, to reduce the amount of objects created:

  • Subtract is kinda missing (for now, a.add(VecN.negate(b)) is kinda not great haha)
  • VecN.set() needs an option to take in a VecN

Not urgent. Take your time. Thanks!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions