Cleanup: clang-format

This commit is contained in:
Campbell Barton 2020-02-12 18:18:31 +11:00
parent df1e9b662b
commit a2ce3b342a
3 changed files with 1 additions and 4 deletions

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "stdcycles.h" #include "stdcycles.h"
shader node_anisotropic_bsdf(color Color = 0.0, shader node_anisotropic_bsdf(color Color = 0.0,
string distribution = "GGX", string distribution = "GGX",

@ -147,5 +147,4 @@ normal ensure_valid_reflection(normal Ng, vector I, normal N)
return N_new_x * X + N_new_z * Ng; return N_new_x * X + N_new_z * Ng;
} }
#endif /* CCL_STDOSL_H */ #endif /* CCL_STDOSL_H */

@ -354,8 +354,6 @@ void node_from_view(struct bNode *node, float x, float y, float *rx, float *ry)
nodeFromView(node, x, y, rx, ry); nodeFromView(node, x, y, rx, ry);
} }
/* based on settings in node, sets drawing rect info. each redraw! */ /* based on settings in node, sets drawing rect info. each redraw! */
static void node_update_basis(const bContext *C, bNodeTree *ntree, bNode *node) static void node_update_basis(const bContext *C, bNodeTree *ntree, bNode *node)
{ {