Lerp

nn::math::VEC3::Lerp Member Function

Syntax

self_type & Lerp(
     const VEC3 & lhs,
     const VEC3 & rhs,
     f32 t
);

Parameters

Name Description
in lhs Vector to take as the starting point of the linear interpolation.
in rhs Vector to take as the ending point of the liner interpolation.
in t Linear interpolation parameter. The result is lhs when this is 0.0 and rhs when this is 1.0.

Return Values

Description

Linearly interpolates between two vectors and sets the result.

Revision History

2010/01/29
Initial version.

CONFIDENTIAL