Skip to content

Commit 41ea97b

Browse files
committed
added documentation for the Color.lerp method
1 parent be41af3 commit 41ea97b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docs/api/math/Color.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,10 @@ <h3>.multiplyScalar( [page:Number s] ) [page:this]</h3>
169169

170170
<h3>.lerp( [page:Color color], alpha ) [page:this]</h3>
171171
<div>
172-
todo
172+
alpha -- a number between 0 and 1.
173+
</div>
174+
<div>
175+
Linear interpolation of this colors rgb values and the rgb values of the first argument. The alpha argument can be thought of as the percent between the two colors, where 0 is this color and 1 is the first argument.
173176
</div>
174177

175178
<h3>.equals( [page:Color c] ) [page:this]</h3>

0 commit comments

Comments
 (0)