Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.
This repository was archived by the owner on May 6, 2024. It is now read-only.

Quaternions are 32 bytes due to alignment constraints instead of 16 bytes #34

@nfrechette

Description

@nfrechette

Because a Quaternion is made up of a Vector3 (16 bytes) and a float (4 bytes), alignment to will bump the size to 32 bytes. This is wasteful as a quaternion can easily and efficiently be implemented using a Vector4 (16 bytes).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions