From 3e687f1a8ccb1cd0d52a966005551d528ca141df Mon Sep 17 00:00:00 2001 From: Boris Verkhovskiy Date: Sat, 6 Apr 2024 08:33:50 -0700 Subject: Remove leading and trailing empty lines in code blocks --- osl.html.markdown | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'osl.html.markdown') diff --git a/osl.html.markdown b/osl.html.markdown index 1fe010ec..fd4fc7e9 100644 --- a/osl.html.markdown +++ b/osl.html.markdown @@ -10,8 +10,6 @@ OSL (Open Shading Language) is a programming language designed by Sony for Arnol [Read more here.](https://raw.githubusercontent.com/imageworks/OpenShadingLanguage/master/src/doc/osl-languagespec.pdf) ```c - - // Single-line comments start with // /* Multi line comments are preserved. */ @@ -741,8 +739,8 @@ for (int i = 0; i < 5; i += 1) { point pos = point(0, 0, 0); // Starting position of the ray vector dir = vector(0, 0, 1); // Direction of the ray int hit = trace(pos, dir); // returns 1 if it hits, else 0 - ``` + ### Further reading * [Blender Docs for OSL](https://docs.blender.org/manual/en/latest/render/shader_nodes/osl.html) -- cgit v1.2.3