Skip to content
Snippets Groups Projects
Commit 21085140 authored by David Tschumperlé's avatar David Tschumperlé
Browse files

.

parent f334dc27
No related branches found
No related tags found
No related merge requests found
...@@ -46995,7 +46995,7 @@ namespace cimg_library_suffixed { ...@@ -46995,7 +46995,7 @@ namespace cimg_library_suffixed {
draw_triangle(x0,y0,z0,x2,y2,z2,x3,y3,z3,color,tx0,ty0,tx2,ty2,tx3,ty3,opacity,lightprops(l)); draw_triangle(x0,y0,z0,x2,y2,z2,x3,y3,z3,color,tx0,ty0,tx2,ty2,tx3,ty3,opacity,lightprops(l));
#ifdef cimg_use_board #ifdef cimg_use_board
if (pboard) { if (pboard) {
const float lp = std::min(lightprops(l),1); const float lp = std::min(lightprops(l),1.0f);
board.setPenColorRGBi((unsigned char)(128*lp), board.setPenColorRGBi((unsigned char)(128*lp),
(unsigned char)(128*lp), (unsigned char)(128*lp),
(unsigned char)(128*lp), (unsigned char)(128*lp),
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment