MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / RenderListSortFunc

Function RenderListSortFunc

LuaSTGPlus/GameObjectPool.cpp:72–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static inline bool RenderListSortFunc(GameObject* p1, GameObject* p2)LNOEXCEPT
73{
74 // layerС�Ŀ�ǰ����layer��ͬ�����uid��
75 return (p1->layer < p2->layer) || ((p1->layer == p2->layer) && (p1->uid < p2->uid));
76}
77
78static inline bool CollisionCheck(GameObject* p1, GameObject* p2)LNOEXCEPT
79{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected