|
|
|
@ -20,38 +20,23 @@ |
|
|
|
|
/// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
|
/// THE SOFTWARE.
|
|
|
|
|
///
|
|
|
|
|
/// @ref gtx_associated_min_max
|
|
|
|
|
/// @file glm/gtx/associated_min_max.hpp
|
|
|
|
|
/// @date 2008-03-10 / 2011-06-07
|
|
|
|
|
/// @ref gtx_fast_square_root
|
|
|
|
|
/// @file glm/gtx/fast_square_root.hpp
|
|
|
|
|
/// @date 2006-01-04 / 2011-06-07
|
|
|
|
|
/// @author Christophe Riccio
|
|
|
|
|
///
|
|
|
|
|
/// @see core (dependence)
|
|
|
|
|
/// @see gtx_extented_min_max (dependence)
|
|
|
|
|
///
|
|
|
|
|
\defgroup gtx_fast_square_root GLM_GTX_fast_square_root: Fast square root functions |
|
|
|
|
\ingroup gtx |
|
|
|
|
|
|
|
|
|
\brief Fast but less accurate implementations of square root based functions. |
|
|
|
|
|
|
|
|
|
<glm/gtx/fast_square_root.hpp> need to be included to use these functionalities. |
|
|
|
|
/// @defgroup gtx_fast_square_root GLM_GTX_fast_square_root: Fast square root functions
|
|
|
|
|
/// @ingroup gtx
|
|
|
|
|
///
|
|
|
|
|
/// @brief Fast but less accurate implementations of square root based functions.
|
|
|
|
|
/// - Sqrt optimisation based on Newton's method,
|
|
|
|
|
/// www.gamedev.net/community/forums/topic.asp?topic id=139956
|
|
|
|
|
///
|
|
|
|
|
/// <glm/gtx/fast_square_root.hpp> need to be included to use these functionalities.
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// Created : 2006-01-04
|
|
|
|
|
// Updated : 2008-10-07
|
|
|
|
|
// Licence : This source is under MIT License
|
|
|
|
|
// File : glm/gtx/fast_square_root.hpp
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// Dependency:
|
|
|
|
|
// - GLM core
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// Note:
|
|
|
|
|
// - Sqrt optimisation based on Newton's method,
|
|
|
|
|
// www.gamedev.net/community/forums/topic.asp?topic id=139956
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#ifndef glm_gtx_fast_square_root |
|
|
|
|
#define glm_gtx_fast_square_root |
|
|
|
|
|
|
|
|
|