 }@@
 
 @@{
-RTCGeometry ID geom = rtcNewCurveGeometry (EXPR device,EXPR basis,EXPR subtype,EXPR flags,EXPR numPrimitives,EXPR numVertices,EXPR numTimeSteps);
-=>
-uniform RTCGeometry geom = rtcNewCurveGeometry (device,basis,subtype,flags,numPrimitives,numVertices,numTimeSteps);
+RTCGeometry ID geom = rtcNewCurveGeometry (EXPR device,EXPR type,EXPR flags,EXPR numPrimitives,EXPR numVertices,EXPR numTimeSteps);
+=>
+uniform RTCGeometry geom = rtcNewCurveGeometry (device,type,flags,numPrimitives,numVertices,numTimeSteps);
 @@{
 rtcMapBuffer(EXPR geom,RTC_INDEX_BUFFER)
 =>

@@{
LINEAR_BASIS
=>
RTC_GEOMETRY_TYPE_LINEAR_CURVE
}@@

@@{
BEZIER_BASIS
=>
RTC_GEOMETRY_TYPE_BEZIER_CURVE
}@@

@@{
BSPLINE_BASIS
=>
RTC_GEOMETRY_TYPE_BSPLINE_CURVE
}@@



@@{
rtcNewUserGeometry (EXPR device, EXPR quality, EXPR numPrimitives, EXPR numTimeSteps)
=>
rtcNewGeometry (device, RTC_GEOMETRY_TYPE_USER)
}@@

@@{
rtcNewTriangleMesh (EXPR device,EXPR flags,EXPR numPrimitives,EXPR numVertices,EXPR numTimeSteps)
=>
rtcNewGeometry (device, RTC_GEOMETRY_TYPE_TRIANGLE)
}@@

@@{
rtcNewQuadMesh (EXPR device,EXPR flags,EXPR numPrimitives,EXPR numVertices,EXPR numTimeSteps)
=>
rtcNewGeometry (device, RTC_GEOMETRY_TYPE_QUAD)
}@@

@@{
rtcNewSubdivisionMesh (EXPR device,EXPR flags,EXPR numPrimitives,EXPR numEdges,EXPR numVertices,EXPR numEdgeCreases,EXPR numVertexCreases,EXPR numHoles,EXPR numTimeSteps)
=>
rtcNewGeometry (device, RTC_GEOMETRY_TYPE_SUBDIVISION)
}@@

@@{
rtcNewCurveGeometry (EXPR device,EXPR type,EXPR flags,EXPR numPrimitives,EXPR numVertices,EXPR numTimeSteps)
=>
rtcNewGeometry (device,type)
}@@

@@{
rtcNewInstance(EXPR device,EXPR source,EXPR numTimeSteps);
=>
rtcNewGeometry (device, RTC_GEOMETRY_TYPE_INSTANCE)
}@@


