Skip to content

Commit

Permalink
Typo fixes in docs.
Browse files Browse the repository at this point in the history
Patch by: blair


git-svn-id: https://openshadinglanguage.googlecode.com/svn/trunk@538 a3683778-fedd-11de-87c3-653bb6514e15
  • Loading branch information
lgritzecho committed Jan 21, 2010
1 parent c8bb36d commit 3957b0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion INSTALL
Expand Up @@ -49,7 +49,7 @@ Here are the steps to check out, build, and test the OSL distribution:
"linux", "linux64", "macosx", "windows", or "windows64".

Note: The default is to make an optimized "release" build. If
instead type type 'make debug' at the top level, you will end up with
instead type 'make debug' at the top level, you will end up with
a debug build (no optimization, full symbols) in "dist/ARCH.debug".

4. Add the "dist/ARCH/bin" to your $PATH, and "dist/ARCH/lib" to your
Expand Down
10 changes: 5 additions & 5 deletions src/doc/languagespec.tex
Expand Up @@ -1148,7 +1148,7 @@ \section{Shader metadata}
\apiend

\apiitem{int normalized}
For a \vector or \normal, a nonzero value is a a hint that the shader
For a \vector or \normal, a nonzero value is a hint that the shader
expects the vector to be unit length. The renderer may use this hint to
print a warning if the parameter or value is not of unit length, and the
compiler may warn if a \qkw{normalized} variable is assigned a non-unit
Expand Down Expand Up @@ -2069,7 +2069,7 @@ \subsection*{Scoping}

Any place where it is legal to have a statement, it is legal to have
multiple statements enclosed by curly braces {\cf \{ \}}. This is
called a \emph{scope}. Any variables or functions declared declared
called a \emph{scope}. Any variables or functions declared
within a scope are only visible within that scope, and only may be used
after their declaration. Variables or functions that are referenced
will always resolve to the matching name in the innermost scope relative
Expand Down Expand Up @@ -2823,7 +2823,7 @@ \subsection{Mathematical functions}

Various rouinding methods: {\cf floor} returns the highest integer less
than or equal to $x$; {\cf ceil} returns the lowest integer greater than
or equal to $x$; {\cf round} returns the the closest integer to $x$, in
or equal to $x$; {\cf round} returns the closest integer to $x$, in
either direction; and {\cf trunc} returns the integer part of $x$
(equivalent to {\cf floor} if $x>0$ and {\cf ceil} if $x<0$).
\apiend
Expand Down Expand Up @@ -3277,7 +3277,7 @@ \section{Pattern generation}
\indexapi{hash()}
Returns a deterministic, repeatable \emph{hash} of the 1-, 2-, 3-, or
4-D coordinates. The return values will be evenly distributed on
$[0,1]$ and be be completely repeatable when passed the same coordinates
$[0,1]$ and be completely repeatable when passed the same coordinates
again, yet will be uncorrellated to hashes of any other positions
(including nearby points). This is like having a random value indexed
spatially, but that will be repeatable from frame to frame of an
Expand Down Expand Up @@ -5168,7 +5168,7 @@ \chapter{Glossary}
itself).

\item[Closure.] A symbolic representation of a function to be called,
and values for its parameters, that are packaged up to be be evaluated
and values for its parameters, that are packaged up to be evaluated
at a later time to yield a final numeric value.

\item[Connection.] A routing of the value of an \emph{output parameter}
Expand Down

0 comments on commit 3957b0c

Please sign in to comment.