gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/plot3d.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plot3d.lua')
-rw-r--r--plot3d.lua 6
1 files changed, 3 insertions, 3 deletions
diff --git a/plot3d.lua b/plot3d.lua
index 8e8756b2..0b45b9ba 100644
--- a/plot3d.lua
+++ b/plot3d.lua
@@ -25,9 +25,9 @@ local function render_shape(shape, plt, stroke)
renderer.draw_overdraw = true
renderer.draw_backfaces = true
- renderer.fill_rgba = rgb(0x4A/255, 0x92/255, 0xBF/255)
- renderer.fill_rgba_backside = rgb(0xBF/255, 0x92/255, 0x4A/255)
- if stroke then renderer.stroke_rgba = rgb(0.2, 0.2, 0.2) end
+ renderer.fill_rgba = rgb(0x4A, 0x92, 0xBF)
+ renderer.fill_rgba_backside = rgb(0xBF, 0x92, 0x4A)
+ if stroke then renderer.stroke_rgba = rgb(50, 50, 50) end
renderer.set_light_intensity = true
renderer.camera.focal_length = 30;
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月25日 22:17:31 +0000

AltStyle によって変換されたページ (->オリジナル) /