Browse Source

Fix GridWarpSurface non-void functions returning void

master
Krisjanis Rijnieks 8 years ago
parent
commit
ef6ced6701
  1. 2
      src/Surfaces/GridWarpSurface.cpp

2
src/Surfaces/GridWarpSurface.cpp

@ -55,11 +55,13 @@ int GridWarpSurface::getGridCols(){
int GridWarpSurface::setGridRows(int r){
_gridRows = r;
createGridMesh();
return r;
}
int GridWarpSurface::setGridCols(int c){
_gridCols = c;
createGridMesh();
return c;
}
bool GridWarpSurface::hitTest(Vec2 p){

Loading…
Cancel
Save