gmio_stl: rename STL write option for binary header
This commit is contained in:
parent
bc986080d6
commit
b514f12cc3
@ -78,7 +78,7 @@ struct gmio_stl_write_options
|
|||||||
* \li calling gmio_stl_write() with <tt>options == NULL</tt>
|
* \li calling gmio_stl_write() with <tt>options == NULL</tt>
|
||||||
* \li OR <tt>stlb_header_data == NULL</tt>
|
* \li OR <tt>stlb_header_data == NULL</tt>
|
||||||
*/
|
*/
|
||||||
const struct gmio_stlb_header* stlb_header_data;
|
const struct gmio_stlb_header* stlb_header;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* GMIO_STL_IO_OPTIONS_H */
|
#endif /* GMIO_STL_IO_OPTIONS_H */
|
||||||
|
@ -244,7 +244,7 @@ const char* test_stlb_write()
|
|||||||
{
|
{
|
||||||
struct gmio_stl_write_args write = {0};
|
struct gmio_stl_write_args write = {0};
|
||||||
write.mesh = gmio_stl_data_mesh(&data);
|
write.mesh = gmio_stl_data_mesh(&data);
|
||||||
write.options.stlb_header_data = &data.header;
|
write.options.stlb_header = &data.header;
|
||||||
error = gmio_stl_write_file(
|
error = gmio_stl_write_file(
|
||||||
&write, GMIO_STL_FORMAT_BINARY_LE, model_filepath_out);
|
&write, GMIO_STL_FORMAT_BINARY_LE, model_filepath_out);
|
||||||
UTEST_ASSERT(error == GMIO_ERROR_OK);
|
UTEST_ASSERT(error == GMIO_ERROR_OK);
|
||||||
|
Loading…
Reference in New Issue
Block a user