Skip to content
Snippets Groups Projects
Commit cf235df8 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

typos

parent 3f097498
No related branches found
No related tags found
No related merge requests found
// $Id: PostSimplex.cpp,v 1.20 2001-07-31 07:18:48 geuzaine Exp $
// $Id: PostSimplex.cpp,v 1.21 2001-08-03 09:34:56 geuzaine Exp $
#include "Gmsh.h"
#include "GmshUI.h"
......@@ -92,8 +92,8 @@ void Draw_ScalarLine(Post_View *View,
if(View->IntervalsType==DRAW_POST_CONTINUOUS){
if(Val[0]>=ValMin && Val[0]<=ValMax &&
Val[1]>=ValMin && Val[1]<=ValMax){
if(Val[0] >= ValMin && Val[0] <= ValMax &&
Val[1] >= ValMin && Val[1] <= ValMax){
glBegin(GL_LINES);
Palette2(View,ValMin,ValMax,Val[0]);
glVertex3d(X[0]+View->Offset[0]+Raise[0][0],
......@@ -239,9 +239,9 @@ void Draw_ScalarTriangle(Post_View *View, int preproNormals,
else{
if(View->IntervalsType == DRAW_POST_CONTINUOUS){
if(Val[0] >=ValMin && Val[0] <=ValMax &&
Val[1]>=ValMin && Val[1]<=ValMax &&
Val[2]>=ValMin && Val[2]<=ValMax){
if(Val[0] >= ValMin && Val[0] <= ValMax &&
Val[1] >= ValMin && Val[1] <= ValMax &&
Val[2] >= ValMin && Val[2] <= ValMax){
glBegin(GL_TRIANGLES);
Palette2(View,ValMin,ValMax,Val[0]);
glNormal3dv(&norms[0]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment