aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-08-11 15:56:20 +0200
committeruruk2014-08-11 15:56:20 +0200
commit7dfd108f68f5e7f99df3b290c48a9d485cb9c3b7 (patch)
tree0433e1943fe2c2c1432b65b6fdcfa7938ee8606d
parent25ebfe461f576d26e3c01bcdfa0151dc9d1fc7fa (diff)
downloadscummvm-rg350-7dfd108f68f5e7f99df3b290c48a9d485cb9c3b7.tar.gz
scummvm-rg350-7dfd108f68f5e7f99df3b290c48a9d485cb9c3b7.tar.bz2
scummvm-rg350-7dfd108f68f5e7f99df3b290c48a9d485cb9c3b7.zip
CGE2: Remove unused functions from V2D.
-rw-r--r--engines/cge2/vga13h.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/cge2/vga13h.h b/engines/cge2/vga13h.h
index a31da57372..cb823645dc 100644
--- a/engines/cge2/vga13h.h
+++ b/engines/cge2/vga13h.h
@@ -127,8 +127,6 @@ public:
FXP posy = m * y;
return V2D(_vm, posx.trunc(), posy.trunc());
}
- static double trunc(double d) { return (d > 0) ? floor(d) : ceil(d); }
- static double round(double number) { return number < 0.0 ? ceil(number) : floor(number); }
};
struct Seq {