[Bf-blender-cvs] [1bf2690] hair_system: Removed unused code.

Lukas Tönne noreply at git.blender.org
Fri Aug 1 16:42:10 CEST 2014


Commit: 1bf2690ba4d3d560fdf6bea80bc799aac5a9318a
Author: Lukas Tönne
Date:   Fri Aug 1 11:46:21 2014 +0200
Branches: hair_system
https://developer.blender.org/rB1bf2690ba4d3d560fdf6bea80bc799aac5a9318a

Removed unused code.

===================================================================

M	source/blender/hair/intern/HAIR_smoothing.h

===================================================================

diff --git a/source/blender/hair/intern/HAIR_smoothing.h b/source/blender/hair/intern/HAIR_smoothing.h
index 5b05a1b..b90f689 100644
--- a/source/blender/hair/intern/HAIR_smoothing.h
+++ b/source/blender/hair/intern/HAIR_smoothing.h
@@ -34,23 +34,6 @@
 
 HAIR_NAMESPACE_BEGIN
 
-#if 0
-template <typename T>
-struct StdArithmetic {
-	static T sum(const T &a, const T &b) {
-		return a + b;
-	}
-	
-	static T difference(const T &a, const T &b) {
-		return a - b;
-	}
-	
-	static T scale(float fac, const T &a) {
-		return fac * a;
-	}
-};
-#endif
-
 template <typename T>
 struct NullDefaultCtor {
 	static const T null = T();




More information about the Bf-blender-cvs mailing list