mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Update for float, double and unsigned char, unsigned short, short, etc. char was left alone: read why here http://msdn.microsoft.com/en-us/library/cc953fe1.aspx
This commit is contained in:
parent
4c35fd37af
commit
7a8f46b19f
36 changed files with 75 additions and 75 deletions
|
|
@ -539,7 +539,7 @@ DefineEngineMethod( GuiTSCtrl, getWorldToScreenScale, Point2F, (),,
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
DefineEngineMethod( GuiTSCtrl, calculateViewDistance, float, ( float radius ),,
|
||||
DefineEngineMethod( GuiTSCtrl, calculateViewDistance, F32, ( F32 radius ),,
|
||||
"Given the camera's current FOV, get the distance from the camera's viewpoint at which the given radius will fit in the render area.\n"
|
||||
"@param radius Radius in world-space units which should fit in the view.\n"
|
||||
"@return The distance from the viewpoint at which the given radius would be fully visible." )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue