FPointFromIVal

Creates an FPoint from inline values.

Synopsis

FPoint * FPointFromIVal (FPoint *dst, int32 x, int32 y)

Description

Converts the specified values from integer to frac16 and stores them in *dst. It is useful for writing inline calls like the following:

FPoint      wrk; 
OffsetCelListByFDelta (cel, FPointFromIVal (&wrk, 2, 2)); 

Arguments

dst
Pointer to the FPoint where the results are to be stored.
x y
Values to be converted.

Return Value

The input parameter dst.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

See Also

FPointFromFVal