% ( beam_thickness = 0.48 interline for now...)
% interbeam = interline - (beam_thickness + staffline_thickness) / 2
% interbeam = 2.84;
- % ugh: interline *in fact* is rule_thickness + "interline"?
+ % ugh: interline *in fact* is rule_thickness + "interline"? --jcn
+
+ % No --hwn
interbeam = 3.14;
gourlay_energybound = 100000.;
};
+/**
+ if d > 0: the max operator
+ if d < 0: the min operator
+ */
+template<class T> minmax (Direction d, T, T);
+
#endif // DIRECTION_HH
--- /dev/null
+
+/*
+ minmax.cc -- implement minmax()
+
+ source file of the GNU LilyPond music typesetter
+
+ (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+
+ */
+
+template<class T>
+minmax (Direction d, T t1, T t2)
+{
+ if (d > 0) return t1 >? t2;
+ else return t1 <? t2;
+}
+