13 #ifndef GR_ShapeFactory_h
14 #define GR_ShapeFactory_h
24 namespace GR_ShapeFactory
Object that represents drawable geometry. This object holds vertex, instancing and index buffers for ...
GLuint GLsizei GLsizei * length
Temporary container for either a RV_Render and an RE_Render.
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
GR_API bool buildGrid(RE_RenderContext r, UT_Vector2F size, UT_UniquePtr< RV_Geometry > &out_geo)
GA_API const UT_StringHolder orient
GR_API bool buildLine(RE_RenderContext r, UT_Vector3F p0, UT_Vector3F p1, UT_UniquePtr< RV_Geometry > &out_geo)
GR_API bool buildSolverBone(RE_RenderContext r, UT_UniquePtr< RV_Geometry > &out_geo)
GR_API bool buildBone(RE_RenderContext r, UT_UniquePtr< RV_Geometry > &out_geo)
GR_API bool buildCircle(RE_RenderContext r, UT_Vector3F center, UT_Vector2F radius, Orientation orient, UT_UniquePtr< RV_Geometry > &out_geo)
GR_API bool buildSphere(RE_RenderContext r, UT_Vector3F center, UT_Vector3F radius, UT_UniquePtr< RV_Geometry > &geo)
GR_API bool buildCylinder(RE_RenderContext r, UT_Vector3F center, UT_Vector2F radius, fpreal length, Orientation orient, UT_UniquePtr< RV_Geometry > &out_geo)
GR_API bool buildBox(RE_RenderContext r, UT_Vector3F center, UT_Vector3F size, UT_UniquePtr< RV_Geometry > &out_geo)