24 lines
1.5 KiB
HTML
24 lines
1.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>template<class T>inline void osg::clampBetweenRange</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>template<class <!1><A HREF="TexGen.html#DOC.2.85.9.2">T</A>>inline void <A HREF="#DOC.DOCU">osg::clampBetweenRange</A></H2><H2>(<!1><A HREF="TexGen.html#DOC.2.85.9.2">T</A>& value,<BR> const <!1><A HREF="TexGen.html#DOC.2.85.9.2">T</A> minValue,<BR> const <!1><A HREF="TexGen.html#DOC.2.85.9.2">T</A> maxValue,<BR> const char* valueName)</H2><BLOCKQUOTE>if value is between or equal to minValue and maxValue do nothing - legal value, otherise clamp value to specified to range and return warning with valueName specifying which variable was clamped.</BLOCKQUOTE>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE>if value is between or equal to minValue and maxValue do nothing - legal value,
|
|
otherise clamp value to specified to range and return warning
|
|
with valueName specifying which variable was clamped. Equivilant to
|
|
calling clampGEQUAL(value,minValue,valueName); clampLEQUAL(value,maxValue,valueName); </BLOCKQUOTE>
|
|
<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
|
|
<BR>
|
|
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
|
|
</BODY>
|
|
</HTML>
|