diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-03-11 10:56:51 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-03-11 10:56:51 +0400 |
commit | 2d801f2bec3c4de663f33b0f0f198a12f09ef989 (patch) | |
tree | dfe16a3ca2213bd5b6579ed3bc2ac2902b678067 /source/blender/freestyle/intern/stroke/Canvas.h | |
parent | 4a92d82626980d6d1690113b9d27aae282fd48eb (diff) |
Another big code clean-up patch from Bastien Montagne, thanks again!
Diffstat (limited to 'source/blender/freestyle/intern/stroke/Canvas.h')
-rw-r--r-- | source/blender/freestyle/intern/stroke/Canvas.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/freestyle/intern/stroke/Canvas.h b/source/blender/freestyle/intern/stroke/Canvas.h index 9931bf3c97e..a583381599f 100644 --- a/source/blender/freestyle/intern/stroke/Canvas.h +++ b/source/blender/freestyle/intern/stroke/Canvas.h @@ -51,7 +51,7 @@ using namespace Geometry; struct ltstr { - bool operator()(const char* s1, const char* s2) const + bool operator()(const char *s1, const char *s2) const { return strcmp(s1, s2) < 0; } @@ -81,7 +81,7 @@ public: return _pInstance; } - typedef std::map<const char*, ImagePyramid*, ltstr> mapsMap; + typedef std::map<const char *, ImagePyramid *, ltstr> mapsMap; static const int NB_STEERABLE_VIEWMAP = 5; protected: @@ -131,9 +131,9 @@ public: virtual void Erase(); /* Reads a pixel area from the canvas */ - virtual void readColorPixels(int x, int y,int w, int h, RGBImage& oImage) const = 0; + virtual void readColorPixels(int x, int y, int w, int h, RGBImage& oImage) const = 0; /* Reads a depth pixel area from the canvas */ - virtual void readDepthPixels(int x, int y,int w, int h, GrayImage& oImage) const = 0; + virtual void readDepthPixels(int x, int y, int w, int h, GrayImage& oImage) const = 0; /* update the canvas (display) */ virtual void update() = 0; @@ -172,13 +172,13 @@ public: float readMapPixel(const char *iMapName, int level, int x, int y); /*! Sets the steerable viewmap */ - void loadSteerableViewMap(SteerableViewMap * iSVM) + void loadSteerableViewMap(SteerableViewMap *iSVM) { _steerableViewMap = iSVM; } /*! Returns the steerable VM */ - SteerableViewMap * getSteerableViewMap() + SteerableViewMap *getSteerableViewMap() { return _steerableViewMap; } |