NNS_G2dRepeatXinCellSpace / NNS_G2dRepeatYinCellSpace

C Specification

#include <nnsys/g2d/fmt/g2d_Cell_data.h>
static inline  s16 NNS_G2dRepeatXinCellSpace( s16 srcX );
static inline  s16 NNS_G2dRepeatYinCellSpace( s16 srcY );

Arguments

srcX / srcY [IN] s16 position coordinate values

Return Values

Returns the s16 value with the repeat process that is applied to the value range that can be obtained by OBJ in the cell.

Description

This function returns the s16 value to which the repeat process was applied to the value range that can be obtained by the OBJ in the cell. Specifically, it corrects values to repeat in the range from -256 to 256. With versions earlier than the 06/06/05 version, the value has been corrected to repeat in the range from -128 to 127. By defining NNS_G2D_LIMIT_CELL_X_128 inside $(NITROSYSTEM_ROOT)/include/nnsys/g2d/g2d_config.h and rebuilding the library, you can revert to functionality found in earlier versions.

See Also

None.

Revision History

10/12/2004 Initial version.


CONFIDENTIAL