diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/freestyle/intern/stroke/ContextFunctions.cpp | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/freestyle/intern/stroke/ContextFunctions.cpp')
-rw-r--r-- | source/blender/freestyle/intern/stroke/ContextFunctions.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/source/blender/freestyle/intern/stroke/ContextFunctions.cpp b/source/blender/freestyle/intern/stroke/ContextFunctions.cpp index f390b4edfb6..5609013a417 100644 --- a/source/blender/freestyle/intern/stroke/ContextFunctions.cpp +++ b/source/blender/freestyle/intern/stroke/ContextFunctions.cpp @@ -32,52 +32,52 @@ namespace ContextFunctions { unsigned GetTimeStampCF() { - return TimeStamp::instance()->getTimeStamp(); + return TimeStamp::instance()->getTimeStamp(); } unsigned GetCanvasWidthCF() { - return Canvas::getInstance()->width(); + return Canvas::getInstance()->width(); } unsigned GetCanvasHeightCF() { - return Canvas::getInstance()->height(); + return Canvas::getInstance()->height(); } BBox<Vec2i> GetBorderCF() { - return Canvas::getInstance()->border(); + return Canvas::getInstance()->border(); } void LoadMapCF(const char *iFileName, const char *iMapName, unsigned iNbLevels, float iSigma) { - return Canvas::getInstance()->loadMap(iFileName, iMapName, iNbLevels, iSigma); + return Canvas::getInstance()->loadMap(iFileName, iMapName, iNbLevels, iSigma); } float ReadMapPixelCF(const char *iMapName, int level, unsigned x, unsigned y) { - Canvas *canvas = Canvas::getInstance(); - return canvas->readMapPixel(iMapName, level, x, y); + Canvas *canvas = Canvas::getInstance(); + return canvas->readMapPixel(iMapName, level, x, y); } float ReadCompleteViewMapPixelCF(int level, unsigned x, unsigned y) { - SteerableViewMap *svm = Canvas::getInstance()->getSteerableViewMap(); - return svm->readCompleteViewMapPixel(level, x, y); + SteerableViewMap *svm = Canvas::getInstance()->getSteerableViewMap(); + return svm->readCompleteViewMapPixel(level, x, y); } float ReadDirectionalViewMapPixelCF(int iOrientation, int level, unsigned x, unsigned y) { - SteerableViewMap *svm = Canvas::getInstance()->getSteerableViewMap(); - return svm->readSteerableViewMapPixel(iOrientation, level, x, y); + SteerableViewMap *svm = Canvas::getInstance()->getSteerableViewMap(); + return svm->readSteerableViewMapPixel(iOrientation, level, x, y); } FEdge *GetSelectedFEdgeCF() { - return Canvas::getInstance()->selectedFEdge(); + return Canvas::getInstance()->selectedFEdge(); } -} // ContextFunctions namespace +} // namespace ContextFunctions } /* namespace Freestyle */ |