diff options
author | Brian Paul <[email protected]> | 2003-03-04 16:33:53 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-03-04 16:33:53 +0000 |
commit | f9b1e5241facc8cf255c258082d5cb5b04783e93 (patch) | |
tree | ea3bb1859dba42e746b0f14dce5193b81c922ac5 /src/mesa/swrast/s_aalinetemp.h | |
parent | 386578c5bcc5c6701a6b9692cdc04cfe4064ca06 (diff) |
added _mesa_inv_sqrtf() and INV_SQRTF() (Josh Vanderhoof)
Diffstat (limited to 'src/mesa/swrast/s_aalinetemp.h')
-rw-r--r-- | src/mesa/swrast/s_aalinetemp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_aalinetemp.h b/src/mesa/swrast/s_aalinetemp.h index 529da481103..9850ff9ac5a 100644 --- a/src/mesa/swrast/s_aalinetemp.h +++ b/src/mesa/swrast/s_aalinetemp.h @@ -1,4 +1,4 @@ -/* $Id: s_aalinetemp.h,v 1.22 2003/02/21 21:00:27 brianp Exp $ */ +/* $Id: s_aalinetemp.h,v 1.23 2003/03/04 16:34:02 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -132,7 +132,7 @@ NAME(line)(GLcontext *ctx, const SWvertex *v0, const SWvertex *v1) line.y1 = v1->win[1]; line.dx = line.x1 - line.x0; line.dy = line.y1 - line.y0; - line.len = (GLfloat) sqrt(line.dx * line.dx + line.dy * line.dy); + line.len = SQRTF(line.dx * line.dx + line.dy * line.dy); line.halfWidth = 0.5F * ctx->Line.Width; if (line.len == 0.0 || IS_INF_OR_NAN(line.len)) |