Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs3-24sp
project03
Commits
96e41d11
Commit
96e41d11
authored
1 year ago
by
Adam Blank
Browse files
Options
Download
Email Patches
Plain Diff
Update polygon.h
parent
840aca84
master
ref_fix
No related merge requests found
Pipeline
#102239
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/polygon.h
+3
-5
include/polygon.h
with
3 additions
and
5 deletions
+3
-5
include/polygon.h
View file @
96e41d11
...
...
@@ -11,8 +11,6 @@ typedef struct polygon polygon_t;
* Initialize a polygon object given a list of vertices.
*
* @param points the list of vertices that make up the polygon
* @param initial_position a vector representing the initial center position of
* the polygon
* @param initial_velocity a vector representing the initial velocity of the
* polygon
* @param rotation_speed the rotation angle of the polygon per unit time
...
...
@@ -22,9 +20,9 @@ typedef struct polygon polygon_t;
* @param blue double value between 0 and 1 representing the blue of the polygon
* @return a polygon object pointer
*/
polygon_t
*
polygon_init
(
list_t
*
points
,
vector_t
initial_
position
,
vector_t
initial_velocity
,
double
rotation_speed
,
double
red
,
double
green
,
double
blue
);
polygon_t
*
polygon_init
(
list_t
*
points
,
vector_t
initial_
velocity
,
double
rotation_speed
,
double
red
,
double
green
,
double
blue
);
/**
* Return the list of vectors representing the vertices of the polygon.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help