Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis12/doc/report/basis.tex
ViewVC logotype

Diff of /branches/vis12/doc/report/basis.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/doc/report/basis.tex revision 1247, Wed May 18 21:27:46 2011 UTC branches/vis12/doc/report/basis.tex revision 1946, Fri Jul 6 20:18:03 2012 UTC
# Line 38  Line 38 
38    \PFNSPEC{lerp}{\sigma}{(\tensorTy{\sigma},\,\tensorTy{\sigma},\,\mkw{real})}{\tensorTy{\sigma}}    \PFNSPEC{lerp}{\sigma}{(\tensorTy{\sigma},\,\tensorTy{\sigma},\,\mkw{real})}{\tensorTy{\sigma}}
39      linear interpolationover the interval $[0,1]$:      linear interpolationover the interval $[0,1]$:
40      \begin{displaymath}      \begin{displaymath}
41        \mathtt{lerp} (x, y, t) = x(1-t) + a        \mathtt{lerp} (x, y, t) = x(1-t) + y
42      \end{displaymath}%      \end{displaymath}%
43    \PFNSPEC{lerp}{\sigma}{(\tensorTy{\sigma},\,\tensorTy{\sigma},\,\mkw{real},\,\mkw{real},\,\mkw{real})}{\tensorTy{\sigma}}    \PFNSPEC{lerp}{\sigma}{(\tensorTy{\sigma},\,\tensorTy{\sigma},\,\mkw{real},\,\mkw{real},\,\mkw{real})}{\tensorTy{\sigma}}
44      linear interpolation over an arbitrary range:      linear interpolation over the interval $[\mathit{lo},\mathit{hi}]$:
45      \begin{displaymath}      \begin{displaymath}
46        \mathtt{lerp} (x, y, \mathit{lo}, t, \mathit{hi}) =        \mathtt{lerp} (x, y, \mathit{lo}, t, \mathit{hi}) =
47          \mathtt{lerp}\left({x, y, \frac{t - \mathit{lo}}{\mathit{hi} - \mathit{lo}}}\right)          \mathtt{lerp}\left({x, y, \frac{t - \mathit{lo}}{\mathit{hi} - \mathit{lo}}}\right)

Legend:
Removed from v.1247  
changed lines
  Added in v.1946

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0