Lines Matching refs:sm
147 void rsrDrawPath(Context *rsc, Path *sm) { in rsrDrawPath() argument
151 void rsrDrawMesh(Context *rsc, Mesh *sm) { in rsrDrawMesh() argument
152 CHECK_OBJ(sm); in rsrDrawMesh()
156 sm->render(rsc); in rsrDrawMesh()
159 void rsrDrawMeshPrimitive(Context *rsc, Mesh *sm, uint32_t primIndex) { in rsrDrawMeshPrimitive() argument
160 CHECK_OBJ(sm); in rsrDrawMeshPrimitive()
164 sm->renderPrimitive(rsc, primIndex); in rsrDrawMeshPrimitive()
167 void rsrDrawMeshPrimitiveRange(Context *rsc, Mesh *sm, uint32_t primIndex, in rsrDrawMeshPrimitiveRange() argument
169 CHECK_OBJ(sm); in rsrDrawMeshPrimitiveRange()
173 sm->renderPrimitiveRange(rsc, primIndex, start, len); in rsrDrawMeshPrimitiveRange()
176 void rsrMeshComputeBoundingBox(Context *rsc, Mesh *sm, in rsrMeshComputeBoundingBox() argument
179 CHECK_OBJ(sm); in rsrMeshComputeBoundingBox()
180 sm->computeBBox(rsc); in rsrMeshComputeBoundingBox()
181 *minX = sm->mBBoxMin[0]; in rsrMeshComputeBoundingBox()
182 *minY = sm->mBBoxMin[1]; in rsrMeshComputeBoundingBox()
183 *minZ = sm->mBBoxMin[2]; in rsrMeshComputeBoundingBox()
184 *maxX = sm->mBBoxMax[0]; in rsrMeshComputeBoundingBox()
185 *maxY = sm->mBBoxMax[1]; in rsrMeshComputeBoundingBox()
186 *maxZ = sm->mBBoxMax[2]; in rsrMeshComputeBoundingBox()