kicad/3d-viewer/3d_rendering/3d_render_ogl_legacy
John Beard e52688586a Don't use memset to initialise aggregate of floats.
In C3D_RENDER_OGL_LEGACY::setupMaterial(), the struct
m_materials (which is made up of floats and glm::vec3f's)
is initialised with a memset to 0. This is unsafe, as
floating point value representations in C++ are implementation-
defined (so 0 in memory is not 0-valued for sure).

Use empty-brace aggregate-initialisation, which does the right thing.
2018-11-13 13:37:59 -05:00
..
c3d_render_createscene_ogl_legacy.cpp Replacing Tesselation 2018-09-01 19:30:50 -07:00
c3d_render_ogl_legacy.cpp Don't use memset to initialise aggregate of floats. 2018-11-13 13:37:59 -05:00
c3d_render_ogl_legacy.h 3D viewer: minor enhancement: display the name of the 3D shape being loaded. 2018-05-08 16:07:09 +02:00
c_ogl_3dmodel.cpp 3d: Replace glFinish with glFlush 2018-06-13 15:32:18 -07:00
c_ogl_3dmodel.h 3D Viewer: complete refactor of the 3D viewer. 2016-07-19 13:35:25 -04:00
clayer_triangles.cpp Removing OpenMP 2018-09-21 12:44:20 -07:00
clayer_triangles.h Removing OpenMP 2018-09-21 12:44:20 -07:00
ogl_legacy_utils.cpp 3D Viewer: complete refactor of the 3D viewer. 2016-07-19 13:35:25 -04:00
ogl_legacy_utils.h Fix a few doxygen warnings 2017-07-03 10:45:56 +02:00