Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uva
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
uva
Commits
0f1daf9b
Commit
0f1daf9b
authored
14 years ago
by
Taddeüs Kroes
Browse files
Options
Downloads
Patches
Plain Diff
- Fixed Makefile.
parent
d3cbeb17
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
graphics/ass9/source/marching_tetrahedra.c
+3
-3
3 additions, 3 deletions
graphics/ass9/source/marching_tetrahedra.c
os/ass4/Makefile
+15
-0
15 additions, 0 deletions
os/ass4/Makefile
with
18 additions
and
3 deletions
graphics/ass9/source/marching_tetrahedra.c
+
3
−
3
View file @
0f1daf9b
...
...
@@ -118,14 +118,14 @@ generate_tetrahedron_triangles(triangle *triangles, unsigned char isovalue,
int
generate_cell_triangles
(
triangle
*
triangles
,
cell
c
,
unsigned
char
isovalue
)
{
const
int
points
[
24
]
=
{
0
,
1
,
3
,
7
,
0
,
2
,
6
,
7
,
0
,
1
,
5
,
7
,
0
,
2
,
3
,
7
,
0
,
4
,
5
,
7
,
0
,
4
,
6
,
7
};
const
int
points
[
24
]
=
{
0
,
1
,
3
,
7
,
0
,
2
,
6
,
7
,
0
,
1
,
5
,
7
,
0
,
2
,
3
,
7
,
0
,
4
,
5
,
7
,
0
,
4
,
6
,
7
};
int
i
,
tri_count
=
0
;
for
(
i
=
0
;
i
<
21
;
i
+=
4
)
{
tri_count
+=
generate_tetrahedron_triangles
(
triangles
+
tri_count
,
isovalue
,
c
,
points
[
i
],
points
[
i
+
1
],
points
[
i
+
2
],
points
[
i
+
3
]);
}
return
tri_count
;
return
tri_count
;
}
This diff is collapsed.
Click to expand it.
os/ass4/Makefile
+
15
−
0
View file @
0f1daf9b
PROG
=
philosophers
CC
=
gcc
CFLAGS
=
-ansi
-Wall
-Wextra
-O3
-pthread
OFILES
=
host.o
RM
=
rm
-f
$(PROG)
:
$(OFILES)
$(
CC
)
-o
$(
PROG
)
$(
OFILES
)
$(
CFLAGS
)
%.o
:
%.c
$(
CC
)
-c
$<
$(
CFLAGS
)
clean
:
$(
RM
)
*
.o
$(
PROG
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment