diff --git a/doc/SAE102-SpaceInvaders/html/db/d86/display_8cpp.html b/doc/SAE102-SpaceInvaders/html/db/d86/display_8cpp.html index 1bb7107..e6a0bec 100644 --- a/doc/SAE102-SpaceInvaders/html/db/d86/display_8cpp.html +++ b/doc/SAE102-SpaceInvaders/html/db/d86/display_8cpp.html @@ -133,7 +133,7 @@ Include dependency graph for display.cpp: - +

Functions

void applyBezierCurbe (Position &pos, const Position &point, const double percent)
void applyBezierCurve (Position &pos, const Position &point, const double percent)
 

Detailed Description

@@ -147,13 +147,13 @@ SIMAILA Djalim

Definition in file display.cpp.

Function Documentation

-

◆ applyBezierCurbe()

+

◆ applyBezierCurve()

- + diff --git a/doc/SAE102-SpaceInvaders/html/db/d86/display_8cpp_source.html b/doc/SAE102-SpaceInvaders/html/db/d86/display_8cpp_source.html index 7722eaf..a539a26 100644 --- a/doc/SAE102-SpaceInvaders/html/db/d86/display_8cpp_source.html +++ b/doc/SAE102-SpaceInvaders/html/db/d86/display_8cpp_source.html @@ -169,7 +169,7 @@ $(document).ready(function(){initNavTree('db/d86/display_8cpp_source.html','../.
93 }
94}
95
-
96void applyBezierCurbe(Position& pos, const Position& point, const double percent) {
+
96void applyBezierCurve(Position& pos, const Position& point, const double percent) {
97 pos += (point-pos)*percent;
98}
99
@@ -207,8 +207,8 @@ $(document).ready(function(){initNavTree('db/d86/display_8cpp_source.html','../.
131 Position pos(god.getRightHandPos(pm->getScreenWidth()));
132 Position endPos = invIndexToPos(god.thrownInvPosX, god.thrownInvPosY);
133
-
134 applyBezierCurbe(pos, god.thrownTransition, god.counter / 100.0);
-
135 applyBezierCurbe(pos, endPos, god.counter / 100.0);
+
134 applyBezierCurve(pos, god.thrownTransition, god.counter / 100.0);
+
135 applyBezierCurve(pos, endPos, god.counter / 100.0);
136
137 // pos is now the position we need to draw our hand to
138 pm->drawSprite(pm->rightHand, pos);
@@ -256,7 +256,7 @@ $(document).ready(function(){initNavTree('db/d86/display_8cpp_source.html','../.
InvaderType thrownInvType
type of the invader thrown by the hand of god
Definition: god.h:75
unsigned thrownInvPosX
x index (column in the grid) of the invader thrown by the hand of god
Definition: god.h:65
player's projectiles
Definition: projectiles.h:22
-
void applyBezierCurbe(Position &pos, const Position &point, const double percent)
Definition: display.cpp:96
+
void applyBezierCurve(Position &pos, const Position &point, const double percent)
Definition: display.cpp:96
full game logic and display management
#define GOD_HAND_DISTANCE
Definition: god.h:36
#define GOD_BENCH_SIZE
Definition: god.h:34
diff --git a/doc/SAE102-SpaceInvaders/html/globals.html b/doc/SAE102-SpaceInvaders/html/globals.html index 1fe2a7c..b630856 100644 --- a/doc/SAE102-SpaceInvaders/html/globals.html +++ b/doc/SAE102-SpaceInvaders/html/globals.html @@ -93,7 +93,7 @@ $(document).ready(function(){initNavTree('globals.html',''); initResizable(); })

- a -

void applyBezierCurbe void applyBezierCurve ( Position pos,