Indentation

This commit is contained in:
Hugues Delorme 2016-03-29 12:22:17 +02:00
parent 4228a40ae7
commit 01c3b295ff
4 changed files with 46 additions and 37 deletions

View File

@ -35,6 +35,9 @@
GMIO_C_LINKAGE_BEGIN
/*! Reads STL mesh from stream, format is automatically guessed
*
* It does nothing on the triangles read : no checking(eg. for Nan), normals
* are given as they are.
*
* \return Error code (see gmio_core/error.h and stl_error.h)
*/
@ -46,10 +49,12 @@ GMIO_API int gmio_stl_read(
/*! Reads STL mesh from a file, format is automatically guessed
*
* This is just a facility function over gmio_stl_read(). The internal stream
* object is created to read file at \p filepath (see gmio_stream_stdio(FILE*))
* object is created to read file at \p filepath.
*
* The file is opened with \c fopen() so \p filepath shall follow the file name
* specifications of the running environment
*
* \sa gmio_stream_stdio(FILE*)
*/
GMIO_API int gmio_stl_read_file(
const char* filepath,
@ -90,12 +95,14 @@ GMIO_API int gmio_stl_write(
/*! Writes STL mesh to stream
*
* This is just a facility function over gmio_stl_write(). The internal stream
* object is created to read file at \p filepath (see gmio_stream_stdio(FILE*))
* object is created to read file at \p filepath
*
* The file is opened with \c fopen() so \p filepath shall follow the file name
* specifications of the running environment
*
* \return Error code (see gmio_core/error.h and stl_error.h)
*
* \sa gmio_stream_stdio(FILE*)
*/
GMIO_API int gmio_stl_write_file(
enum gmio_stl_format format,

View File

@ -50,7 +50,9 @@ GMIO_API struct gmio_stlb_header gmio_stlb_header_str(const char* str);
* character ('\0') is copied at position \c GMIO_STLB_HEADER_SIZE
*/
GMIO_API void gmio_stlb_header_to_printable_str(
const struct gmio_stlb_header* header, char* str, char replacement);
const struct gmio_stlb_header* header,
char* str,
char replacement);
GMIO_C_LINKAGE_END