vec2.extrapolate

From GTA Connected
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Method Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

Vec2 vec2.extrapolate(Vec2 vector, float ratio)

The vec2.extrapolate method is used to fetch a new 2D vector of the vector extrapolated with a second 2D vector.

Parameters

1) Vec2 vector The second 2D vector.
2) float ratio The extrapolation ratio.

Return

Vec2 The new 2D vector.

Types

Shared Vec2

Notes

There aren't any notes for this method.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.