Skip to content

fromQuat2 allocates a vector on every call #459

@rafern

Description

@rafern

fromQuat2 should use a temporary shared vector instead of allocating on every call, so that it's nicer to the GC

Looks like there's other functions that also do this, such as:

  • mat4 getRotation
  • quat2 fromMat4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions