Skip to content

Commit 42ad0c8

Browse files
committed
Minor docs fixes
1 parent 73c113a commit 42ad0c8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/doc/languagespec.tex

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
Editor: Larry Gritz \\
6262
\emph{lg@imageworks.com}
6363
}
64-
\date{{\large Date: 14 Nov, 2014 \\
64+
\date{{\large Date: 3 Dec, 2014 \\
6565
%~ (with corrections, 2 Oct 2014)
6666
}
6767
\bigskip
@@ -3363,14 +3363,12 @@ \section{Pattern generation}
33633363

33643364
\apiitem{"simplex"}
33653365
\vspace{12pt}
3366-
\NEW % 1.4
33673366
A signed simplex noise with an output range of $[-1,1]$,
33683367
approximate average value of $0$.
33693368
\apiend
33703369

33713370
\apiitem{"usimplex"}
33723371
\vspace{12pt}
3373-
\NEW % 1.4
33743372
An unsigned simplex noise with an output range of $[0,1]$,
33753373
approximate average value of $0.5$.
33763374
\apiend
@@ -3921,7 +3919,6 @@ \section{Texture}
39213919
\apiend
39223920
\vspace{-16pt}
39233921

3924-
\NEW
39253922
\apiitem{"missingcolor", <color>, "missingalpha", <float>}
39263923
\vspace{12pt}
39273924
If present, supplies a missing color (and alpha value) that will
@@ -4024,7 +4021,6 @@ \section{Texture}
40244021
\apiend
40254022
\vspace{-16pt}
40264023

4027-
\NEW
40284024
\apiitem{"missingcolor", <color>, "missingalpha", <float>}
40294025
\vspace{12pt}
40304026
If present, supplies a missing color (and alpha value) that will
@@ -4106,7 +4102,6 @@ \section{Texture}
41064102
\apiend
41074103
\vspace{-16pt}
41084104

4109-
\NEW
41104105
\apiitem{"missingcolor", <color>, "missingalpha", <float>}
41114106
\vspace{12pt}
41124107
If present, supplies a missing color (and alpha value) that will
@@ -4192,6 +4187,13 @@ \section{Texture}
41924187
%matrix that transforms points from \commonspace to a 2D coordinate
41934188
%system where $x$ and $y$ range from -1 to 1. \\[0.75ex]
41944189

4190+
\qkw{averagecolor} & {\cf color} &
4191+
\NEW % 1.6
4192+
Retrieves the average color (first three channels) of the texture. \\[0.75ex]
4193+
4194+
\qkw{averagealpha} & {\cf float} &
4195+
Retrieves the average alpha (the channel with \qkw{A} name) of the texture. \\[0.75ex]
4196+
41954197
\emph{anything else} & \emph{any} & Searches for matching name and
41964198
type in the metadata or other header information of the texture file.
41974199
%\hline

0 commit comments

Comments
 (0)