add spline (#10684)

* add spline
This commit is contained in:
李吉林
2022-04-11 15:49:20 +08:00
committed by GitHub
parent bff1fbe17d
commit f195f7dd2d
27 changed files with 725 additions and 15 deletions
+3 -2
View File
@@ -33,7 +33,7 @@ hpp_headers = cocos/bindings/auto/jsb_cocos_auto.h
# what classes to produce code for. You can use regular expressions here. When testing the regular
# expression, it will be enclosed in "^$", like this: "^Menu*$".
classes = AABB Obb Line Plane Frustum Capsule Sphere Triangle Ray ShapeBase
classes = AABB Obb Line Plane Frustum Capsule Sphere Triangle Ray Spline ShapeBase
# what should we skip? in the format ClassName::[function function]
# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also
@@ -49,7 +49,8 @@ skip = AABB::[getBoundary aabbAabb aabbFrustum aabbPlan merge transform transfor
rename_functions =
getter_setter = ShapeBase::[_type/getType/setType]
getter_setter = ShapeBase::[_type/getType/setType],
Spline::[mode knots]
rename_classes =