interpolation/Cosine/Float
< Interpolation | Cosine
Jump to navigation
Jump to search
Revision as of 03:47, 14 September 2011 by Nexii Malthus (talk | contribs)
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Specification
<lsl>float fCos(float x, float y, float t) {
float F = (1-llCos(t*PI))/2; return x*(1-F)+y*F;
} // Released into public domain. By Nexii Malthus.</lsl>
Examples
<lsl></lsl>