Skip to content

Support Defold 1.9.4 VMath Additions #7

@thejustinwalsh

Description

@thejustinwalsh
Owner

defold/defold#9438

vmath.quat_matrix4 - get quaternion from matrix4
vmath.matrix4_compose - create matrix4 from translation (vector3|vector4), rotation (quaternion) and scale (vector3)
vmath.matrix4_scale - create matrix4 from scale (vector3) or from number (uniform scale) or 3 number (x, y, z)
vmath.clamp - clamp input value in range [min, max]. Input value can be number, vector, vector3, vector4. In case of vector type clamp applies per vector component. min, max also can be number, vector, vector3, vector4.

Activity

thinknathan

thinknathan commented on Jan 2, 2025

@thinknathan
Contributor

Potentially also vmath.euler_to_quat?
defold/defold#9701

thejustinwalsh

thejustinwalsh commented on Jan 3, 2025

@thejustinwalsh
OwnerAuthor

Nice, i'll take a crack this weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @thejustinwalsh@thinknathan

        Issue actions

          Support Defold 1.9.4 VMath Additions · Issue #7 · thejustinwalsh/defold-xmath