A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
graphlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ooops.
[graphlib.git]
/
chateaux
/
chateaux.cpp
diff --git
a/chateaux/chateaux.cpp
b/chateaux/chateaux.cpp
index
89de6bd
..
875fa4b
100644
(file)
--- a/
chateaux/chateaux.cpp
+++ b/
chateaux/chateaux.cpp
@@
-79,7
+79,7
@@
float wtorX(const DrawingWindow& w, int wx)
float wtorY(const DrawingWindow& w, int wy)
{
- return -(rYMax - rYMin) * wy / (w.height - 1)
-
rYMax;
+ return -(rYMax - rYMin) * wy / (w.height - 1)
+
rYMax;
}
float hauteurMontagne(float largeur, float hauteur, float x)