Skip to content

pgeng v1.8

Choose a tag to compare

@marekromk marekromk released this 04 Jan 20:40
· 136 commits to main since this release

pgeng 1.8

Removing things? Yes.

I decided to remove string_number, it was a not optimized function that didn't add anything to pgeng.
If you want to do what string_number used to do, use

from re import findall
def string_number(string):
  return [float(i.replace(',', '.')) for i in findall(r'-?\d+[.,]?\d*', string)]

  • Added clamp
  • Removed string_number
  • Removed int_mode from nearest
  • Added __all__ variable from vfx and collision packages
  • Changed some error messages a little bit
  • "vfx/vfx_core.py" is renamed back to "vfx/core.py"