Add python bindings for Rect2f and Point3i

This commit is contained in:
Zhi-Qiang Zhou
2024-01-13 11:14:30 +08:00
committed by GitHub
parent 2791bb7062
commit fefc7e3749
3 changed files with 36 additions and 0 deletions

View File

@@ -71,6 +71,8 @@ _PREDEFINED_TYPES = (
doc="Required length is 4"),
AliasTypeNode.sequence_("Rect2i", PrimitiveTypeNode.int_(),
doc="Required length is 4"),
AliasTypeNode.sequence_("Rect2f", PrimitiveTypeNode.float_(),
doc="Required length is 4"),
AliasTypeNode.sequence_("Rect2d", PrimitiveTypeNode.float_(),
doc="Required length is 4"),
AliasTypeNode.dict_("Moments", PrimitiveTypeNode.str_("Moments::key"),