Difference between revisions of "MinF"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Fixing category)
m (Fixing links)
 
Line 1: Line 1:
 
{{dafunction
 
{{dafunction
|name=MinF
+
|name         = MinF
|brief=Returns the lesser value of f1 and f2
+
|brief         = Returns the lesser value of f1 and f2
|param1type = float  
+
|param1type   = float  
|param1name = f1  
+
|param1name   = f1  
|param1desc = Float 1
+
|param1desc   = Float 1
 
|param1default =
 
|param1default =
|param2type = float  
+
|param2type   = float  
|param2name = f2  
+
|param2name   = f2  
|param2desc = Float 2
+
|param2desc   = Float 2
 
|param2default =
 
|param2default =
 
+
|returntype   = float
|returntype = float
+
|returndesc   = returns the lesser value of both
|returndesc = returns the lesser value of both
+
|sourcefile   = core_h
|sourcefile = core_h
+
|sourcemodule = Core Game Resources
|sourcemodule = Core Resources
+
 
}}
 
}}
 
 
<!-- == Description == -->
 
<!-- == Description == -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->
 
<!-- This section contains additional comments, observations and known issues. -->
 
<!-- This section contains additional comments, observations and known issues. -->
 
 
<!-- == Examples == -->
 
<!-- == Examples == -->
 
<!-- This section contains examples transcluded from the snippet library. -->
 
<!-- This section contains examples transcluded from the snippet library. -->
 
 
<!-- == See also == -->
 
<!-- == See also == -->
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
 
 
[[Category:Uncategorised function]]
 
[[Category:Uncategorised function]]

Latest revision as of 23:09, 31 August 2011

Returns the lesser value of f1 and f2

float MinF(
float f1,
float f2
);
Parameters:
f1
Float 1
f2
Float 2
Returns:

returns the lesser value of both

Source:

Core Game Resources.core_h