Skip to content

Add More Math Util Functions #360

@gheskett

Description

@gheskett

Notable function additions:

  • u32 random_u32(void)
  • f32 pow(f32 num, f32 exponent)
  • f32 log(f32 num, f32 base)
  • SmoothDamp
  • Remap
  • Lerp
  • LerpSmooth
  • InverseLerp
  • Vector versions of those
  • Any other potentially useful functions that are currently missing

Maybe also consider adding inline functions for stuff like clamp, sign, min, max, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmedium prioritySemi-important issue or feature / medium priority

    Type

    No type

    Projects

    Status

    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions