Przeglądaj źródła

replaced frustrum with frustum

tags/mesa_3_5
Brian Paul 25 lat temu
rodzic
commit
d8bc5a9eba
3 zmienionych plików z 14 dodań i 14 usunięć
  1. 2
    2
      src/mesa/main/matrix.c
  2. 6
    6
      src/mesa/math/m_matrix.c
  3. 6
    6
      src/mesa/math/m_matrix.h

+ 2
- 2
src/mesa/main/matrix.c Wyświetl plik

@@ -1,4 +1,4 @@
/* $Id: matrix.c,v 1.30 2001/01/23 23:39:36 brianp Exp $ */
/* $Id: matrix.c,v 1.31 2001/02/05 18:48:52 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -104,7 +104,7 @@ _mesa_Frustum( GLdouble left, GLdouble right,
return;
}

_math_matrix_frustrum( mat, left, right, bottom, top, nearval, farval );
_math_matrix_frustum( mat, left, right, bottom, top, nearval, farval );
}



+ 6
- 6
src/mesa/math/m_matrix.c Wyświetl plik

@@ -1,10 +1,10 @@
/* $Id: m_matrix.c,v 1.5 2001/01/05 05:31:42 keithw Exp $ */
/* $Id: m_matrix.c,v 1.6 2001/02/05 18:48:52 brianp Exp $ */

/*
* Mesa 3-D graphics library
* Version: 3.5
*
* Copyright (C) 1999-2000 Brian Paul All Rights Reserved.
* Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -646,10 +646,10 @@ _math_matrix_rotate( GLmatrix *mat,


void
_math_matrix_frustrum( GLmatrix *mat,
GLfloat left, GLfloat right,
GLfloat bottom, GLfloat top,
GLfloat nearval, GLfloat farval )
_math_matrix_frustum( GLmatrix *mat,
GLfloat left, GLfloat right,
GLfloat bottom, GLfloat top,
GLfloat nearval, GLfloat farval )
{
GLfloat x, y, a, b, c, d;
GLfloat m[16];

+ 6
- 6
src/mesa/math/m_matrix.h Wyświetl plik

@@ -1,10 +1,10 @@
/* $Id: m_matrix.h,v 1.2 2000/11/24 10:25:11 keithw Exp $ */
/* $Id: m_matrix.h,v 1.3 2001/02/05 18:48:52 brianp Exp $ */

/*
* Mesa 3-D graphics library
* Version: 3.5
*
* Copyright (C) 1999-2000 Brian Paul All Rights Reserved.
* Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -139,10 +139,10 @@ _math_matrix_ortho( GLmatrix *mat,
GLfloat nearval, GLfloat farval );

extern void
_math_matrix_frustrum( GLmatrix *mat,
GLfloat left, GLfloat right,
GLfloat bottom, GLfloat top,
GLfloat nearval, GLfloat farval );
_math_matrix_frustum( GLmatrix *mat,
GLfloat left, GLfloat right,
GLfloat bottom, GLfloat top,
GLfloat nearval, GLfloat farval );

extern void
_math_matrix_set_identity( GLmatrix *dest );

Ładowanie…
Anuluj
Zapisz