Skip to content

Commit

Permalink
[ci skip] Fix warnings in functions.inc and glass_old.inc.
Browse files Browse the repository at this point in the history
  • Loading branch information
c-lipka committed Aug 9, 2021
1 parent 88d6598 commit 89c1b28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions distribution/include/functions.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
// To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a
// letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.

// Persistence of Vision Ray Tracer version 3.5 Include File
// Persistence of Vision Ray Tracer version 3.8 Include File

#ifndef(Functions_Inc_Temp)
#declare Functions_Inc_Temp = version;
#version 3.5;
#version 3.8;

#ifdef(View_POV_Include_Stack)
# debug "including function.inc\n"
#end

/*
Persistence of Vision Raytracer Version 3.5
Persistence of Vision Raytracer Version 3.8
Many pre-defined functions for use in scene files.
*/

Expand Down
8 changes: 5 additions & 3 deletions distribution/include/glass_old.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@

// Persistence of Vision Ray Tracer Include File
// File: glass_old.inc
// Last updated: 2001.8.9
// Last updated: 2021-08-09
// Description: Glass finishes and textures (was glass.inc in versions prior to 3.5).
// Changes in version 3.1: moved refraction and ior to the interior statment.
// Use I_Glass in conjunction with each of the finish statments below.
// Version 3.5: Renamed file as glass_old.inc.
// Version 3.8: Added deprecation warnings.
//
// Updated: 27Sep2008(jh)
// Updated: 2008-09-27 (jh)
// Updated: 2021-08-09 (CLi)
//
// To suppress warnings generated from using these deprecated textures you should consider
// converting them to materials.
Expand All @@ -27,7 +29,7 @@

#ifndef(Glass_Old_Inc_Temp)
#declare Glass_Old_Inc_Temp=version;
#version 3.5;
#version 3.8;

#ifdef(View_POV_Include_Stack)
#debug "including glass_old.inc\n"
Expand Down

0 comments on commit 89c1b28

Please sign in to comment.