Skip to content

Clamp functions does not work with int vectors #66

@alexcher-im

Description

@alexcher-im

Functions such as max, min and clamp throw a TypeError when used with int vectors:

>>> glm.max(glm.ivec2(5), glm.ivec2(4))
Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: invalid argument type(s) for max()

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions