mirror of
https://github.com/rvtr/TwlIPL_commit-99.git
synced 2025-10-31 06:21:11 -04:00
50 lines
1.6 KiB
C
Executable File
50 lines
1.6 KiB
C
Executable File
/*---------------------------------------------------------------------------*
|
|
Project: NITRO-System - include - nnsys - g2d
|
|
File: g2d_CullingUtility.h
|
|
|
|
Copyright 2004-2008 Nintendo. All rights reserved.
|
|
|
|
These coded instructions, statements, and computer programs contain
|
|
proprietary information of Nintendo of America Inc. and/or Nintendo
|
|
Company Ltd., and are protected by Federal copyright law. They may
|
|
not be disclosed to third parties or copied or duplicated in any form,
|
|
in whole or in part, without the prior written consent of Nintendo.
|
|
|
|
$Revision: 172 $
|
|
*---------------------------------------------------------------------------*/
|
|
|
|
#ifndef NNS_G2D_CULLINGUTILITY_H_
|
|
#define NNS_G2D_CULLINGUTILITY_H_
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
#include <nitro.h>
|
|
#include <nnsys/g2d/fmt/g2d_Vec_data.h>
|
|
|
|
/*---------------------------------------------------------------------------*
|
|
Name: NNS_G2dIsInViewCircle
|
|
|
|
Description: 可視領域内か判定します(円)
|
|
|
|
|
|
Arguments: pvUL: 可視領域 矩形(左上)
|
|
pvSize: 可視領域 矩形(サイズ)
|
|
pos: 対象物 位置
|
|
boundingR: 境界円 半径
|
|
|
|
|
|
Returns: 可視領域内か
|
|
|
|
*---------------------------------------------------------------------------*/
|
|
BOOL NNS_G2dIsInViewCircle( const NNSG2dFVec2* pvUL, const NNSG2dFVec2* pvSize, const NNSG2dFVec2* pos, fx32 boundingR );
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif// NNS_G2D_CULLINGUTILITY_H_
|