summaryrefslogtreecommitdiff
path: root/navit/transform.c
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-05-06 23:22:17 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-05-06 23:22:17 +0000
commitae6e944497681e91bc209208a869468a7a567b31 (patch)
tree604e756bc34daeedaa5062e1fd52e9c0474348d7 /navit/transform.c
parent661c73983ea17ea3e551bc80c9f019aeeff9da1b (diff)
downloadnavit-ae6e944497681e91bc209208a869468a7a567b31.tar.gz
Refactoring:core:Add comment, remove dead code.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5488 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/transform.c')
-rw-r--r--navit/transform.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/navit/transform.c b/navit/transform.c
index 2d226ca7b..4939e8b4b 100644
--- a/navit/transform.c
+++ b/navit/transform.c
@@ -42,7 +42,7 @@
struct transformation {
int yaw; /* Rotation angle */
int pitch;
- int ddd;
+ int ddd; /* 3d mode/isometric view active? (0/1) */
int m00,m01,m02; /* 3d transformation matrix */
int m10,m11,m12;
int m20,m21,m22;
@@ -415,11 +415,6 @@ transform_utm_to_geo(const double UTMEasting, const double UTMNorthing, int Zone
geo->lng=Long;
}
-void
-transform_datum(struct coord_geo *from, enum map_datum from_datum, struct coord_geo *to, enum map_datum to_datum)
-{
-}
-
int
transform(struct transformation *t, enum projection pro, struct coord *c, struct point *p, int count, int mindist, int width, int *width_return)
{
@@ -781,15 +776,6 @@ transform_set_screen_center(struct transformation *t, struct point *p)
t->screen_center=*p;
}
-#if 0
-void
-transform_set_size(struct transformation *t, int width, int height)
-{
- t->width=width;
- t->height=height;
-}
-#endif
-
void
transform_get_size(struct transformation *t, int *width, int *height)
{