Jump to navigation Jump to search
Available since Server 1.0.0, Client 1.0.0
The vec2.extrapolate method is used to fetch a new 2D vector of the vector extrapolated with a second 2D vector.
The vec2.extrapolate method is used via OOP, on types:
|vec2||Object||Userdata type in Lua and Squirrel, or Object type in JS.|
|extrapolate||Method||Methods use the dot "." operator in JS and Squirrel, or the colon operator ":" in Lua.|
|1)||Vec2||vector||The second 2D vector.|
|2)||float||ratio||The extrapolation ratio.|
|Vec2||The new 2D vector.|
There aren't any notes for this method.
There aren't any examples for this method.
There isn't any compatibility information for this method.