]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Tilemap.hh
initial working frustum culling implementation
[chaz/yoink] / src / Moof / Tilemap.hh
index d8708f1f15f20acf9ff2caa382de4b06403134b1..80bede9a10967d0ca38e79cdfb2739e537f57a67 100644 (file)
@@ -58,6 +58,7 @@ public:
         */
 
        typedef unsigned Index;
+       static const Index NO_TILE = -1;
 
        typedef enum
        {
@@ -82,7 +83,7 @@ public:
         * @return True if index is valid, false otherwise.
         */
 
-       bool getTileCoords(Index index, Scalar coords[8]);
+       bool getTileCoords(Index index, Scalar coords[8]) const;
 
 
        /**
@@ -93,7 +94,7 @@ public:
         * @return True if index is valid, false otherwise.
         */
 
-       bool getTileCoords(Index index, Scalar coords[8], Orientation what);
+       bool getTileCoords(Index index, Scalar coords[8], Orientation what) const;
 
 
        static std::string getPathToResource(const std::string& name);
This page took 0.024942 seconds and 4 git commands to generate.