AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkPoint.Clamp Method (TAgkPoint, Single)

Clamp V to length Len.

Syntax
Pascal
class function Clamp(const V: TAgkPoint; const Len: Single): TAgkPoint; overload;
Parameters 
Description 
const V: TAgkPoint 
the vector to clamp. 
const Len: Single 
the length to clamp to. 

V clamped to Len.

Copyright (c) 2012. All rights reserved.