Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Commit

Permalink
cleaned up interface
Browse files Browse the repository at this point in the history
  • Loading branch information
aidinabedi committed Dec 27, 2009
1 parent 140321a commit 8949db0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Shiny/include/ShinyManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,12 @@ SHINY_INLINE std::string ShinyManager_outputFlatToString(ShinyManager *self) {
extern "C" { /* end of c++ */
#endif

SHINY_INLINE int ShinyManager_isSelfZoneGreaterEqual(ShinyManager *self, ShinyZone* a_zone, float a_percentage) {
SHINY_INLINE int ShinyManager_isZoneSelfTimeBelow(ShinyManager *self, ShinyZone* a_zone, float a_percentage) {
return a_percentage * (float) self->rootZone.data.childTicks.cur
<= (float) a_zone->data.selfTicks.cur;
}

SHINY_INLINE int ShinyManager_isTotalZoneGreaterEqual(ShinyManager *self, ShinyZone* a_zone, float a_percentage) {
SHINY_INLINE int ShinyManager_isZoneTotalTimeBelow(ShinyManager *self, ShinyZone* a_zone, float a_percentage) {
return a_percentage * (float) self->rootZone.data.childTicks.cur
<= (float) ShinyData_totalTicksCur(&a_zone->data);
}
Expand Down

0 comments on commit 8949db0

Please sign in to comment.