occ_support: fix minor code style issues
This commit is contained in:
parent
4924de91cb
commit
d55f1831e1
@ -6,7 +6,7 @@
|
|||||||
#include <StlMesh_SequenceOfMeshTriangle.hxx>
|
#include <StlMesh_SequenceOfMeshTriangle.hxx>
|
||||||
#include <TColgp_SequenceOfXYZ.hxx>
|
#include <TColgp_SequenceOfXYZ.hxx>
|
||||||
|
|
||||||
/* ASCII STL */
|
/* Common */
|
||||||
|
|
||||||
static void occ_mesh_stl_add_triangle(Handle_StlMesh_Mesh* mesh, const foug_stl_triangle_t* tri)
|
static void occ_mesh_stl_add_triangle(Handle_StlMesh_Mesh* mesh, const foug_stl_triangle_t* tri)
|
||||||
{
|
{
|
||||||
@ -16,6 +16,8 @@ static void occ_mesh_stl_add_triangle(Handle_StlMesh_Mesh* mesh, const foug_stl_
|
|||||||
(*mesh)->AddTriangle(uId, vId, wId, tri->normal.x, tri->normal.y, tri->normal.z);
|
(*mesh)->AddTriangle(uId, vId, wId, tri->normal.x, tri->normal.y, tri->normal.z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ASCII STL */
|
||||||
|
|
||||||
static void occ_mesh_stla_igeom_begin_solid(foug_stla_geom_input_t* geom, const char* /*name*/)
|
static void occ_mesh_stla_igeom_begin_solid(foug_stla_geom_input_t* geom, const char* /*name*/)
|
||||||
{
|
{
|
||||||
Handle_StlMesh_Mesh* mesh = static_cast<Handle_StlMesh_Mesh*>(geom->cookie);
|
Handle_StlMesh_Mesh* mesh = static_cast<Handle_StlMesh_Mesh*>(geom->cookie);
|
||||||
|
@ -9,7 +9,7 @@ extern "C" {
|
|||||||
#include "../libstl/stlb_write.h"
|
#include "../libstl/stlb_write.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <Handle_StlMesh_Mesh.hxx>
|
class Handle_StlMesh_Mesh;
|
||||||
|
|
||||||
/* ASCII STL */
|
/* ASCII STL */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user