 @@{
 rtcNewBSplineHairGeometry2(EXPR scene,EXPR flags,EXPR numPrimitives,EXPR numVertices,EXPR numTimeSteps)
 =>
-rtcNewCurveGeometryX(scene,RTC_GEOMETRY_TYPE_BSPLINE_CURVE,RTC_GEOMETRY_SUBTYPE_FLAT,flags,numPrimitives,numVertices,numTimeSteps)
+rtcNewCurveGeometryX(scene,RTC_GEOMETRY_TYPE_FLAT_BSPLINE_CURVE,flags,numPrimitives,numVertices,numTimeSteps)
 }@@
 
 @@{
 rtcNewBSplineHairGeometry2(EXPR scene,EXPR flags,EXPR numPrimitives,EXPR numVertices,EXPR numTimeSteps,EXPR geomID)
 =>
-rtcNewCurveGeometryX(scene,RTC_GEOMETRY_TYPE_BSPLINE_CURVE,RTC_GEOMETRY_SUBTYPE_FLAT,flags,numPrimitives,numVertices,numTimeSteps,geomID)
+rtcNewCurveGeometryX(scene,RTC_GEOMETRY_TYPE_FLAT_BSPLINE_CURVE,flags,numPrimitives,numVertices,numTimeSteps,geomID)
 }@@
 
 

@@{
rtcNewBSplineCurveGeometry2(EXPR scene,EXPR flags,EXPR numPrimitives,EXPR numVertices,EXPR numTimeSteps)
=>
rtcNewCurveGeometryX(scene,RTC_GEOMETRY_TYPE_BSPLINE_CURVE,RTC_GEOMETRY_SUBTYPE_ROUND,flags,numPrimitives,numVertices,numTimeSteps)
}@@

@@{
rtcNewBSplineCurveGeometry2(EXPR scene,EXPR flags,EXPR numPrimitives,EXPR numVertices,EXPR numTimeSteps,EXPR geomID)
=>
rtcNewCurveGeometryX(scene,RTC_GEOMETRY_TYPE_BSPLINE_CURVE,RTC_GEOMETRY_SUBTYPE_ROUND,flags,numPrimitives,numVertices,numTimeSteps,geomID)
}@@



@@{
rtcNewBezierCurveGeometry2(EXPR scene,EXPR flags,EXPR numPrimitives,EXPR numVertices,EXPR numTimeSteps)
=>
rtcNewCurveGeometryX(scene,RTC_GEOMETRY_TYPE_ROUND_BEZIER_CURVE,flags,numPrimitives,numVertices,numTimeSteps)
}@@

@@{
rtcNewBezierCurveGeometry2(EXPR scene,EXPR flags,EXPR numPrimitives,EXPR numVertices,EXPR numTimeSteps,EXPR geomID)
=>
rtcNewCurveGeometryX(scene,RTC_GEOMETRY_TYPE_ROUND_BEZIER_CURVE,flags,numPrimitives,numVertices,numTimeSteps,geomID)
}@@

@@{
