Added acMeshRandomize to astaroth.h to keep core and utils separate

This commit is contained in:
jpekkila
2020-11-02 17:14:26 +02:00
parent d48a478254
commit 349093768d
6 changed files with 21 additions and 23 deletions

View File

@@ -590,6 +590,9 @@ AcResult acUpdateBuiltinParams(AcMeshInfo* config);
/** Creates a mesh stored in host memory */
AcResult acMeshCreate(const AcMeshInfo mesh_info, AcMesh* mesh);
/** Randomizes a host mesh */
AcResult acMeshRandomize(AcMesh* mesh);
/** Destroys a mesh stored in host memory */
AcResult acMeshDestroy(AcMesh* mesh);

View File

@@ -50,9 +50,6 @@ AcResult acVertexBufferSet(const VertexBufferHandle handle, const AcReal value,
/** */
AcResult acMeshSet(const AcReal value, AcMesh* mesh);
/** */
AcResult acMeshRandomize(AcMesh* mesh);
/** */
AcResult acMeshApplyPeriodicBounds(AcMesh* mesh);