#303: Typo fixes from mathnerd314
[supertux.git] / src / object / camera.hpp
index fb1ee7d..061fe4d 100644 (file)
@@ -50,7 +50,7 @@ public:
   /// write camera mode to a lisp file
   virtual void write(lisp::Writer& writer);
 
-  /// reset camera postion
+  /// reset camera position
   void reset(const Vector& tuxpos);
 
   /** return camera position */
@@ -99,7 +99,7 @@ private:
   void shake();
 
   /**
-   * The camera basically provides lookeahead on the left or right side
+   * The camera basically provides lookahead on the left or right side
    * or is undecided.
    */
   enum LookaheadMode {
@@ -115,7 +115,7 @@ private:
   float changetime;
   Vector lookahead_pos;
   Vector peek_pos;
-  Vector yoshi_translation;
+  Vector cached_translation;
 
   // autoscroll mode
   std::auto_ptr<Path> autoscroll_path;