Subversion Repositories gelsvn

Rev

Rev 103 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 103 Rev 115
Line 210... Line 210...
210
																		float t= (iso-val0)/(val1-val0);
210
																		float t= (iso-val0)/(val1-val0);
211
																		Vec3f p = Vec3f(pi0)*(1.0f-t)+Vec3f(pi1)*t;
211
																		Vec3f p = Vec3f(pi0)*(1.0f-t)+Vec3f(pi1)*t;
212
																		face.vert = m->create_vertex(p);
212
																		face.vert = m->create_vertex(p);
213
																		
213
																		
214
																		// We mark the vertex with the cube index.
214
																		// We mark the vertex with the cube index.
215
																		face.vert->touched = reinterpret_cast<int>(cube);
215
																		face.vert->touched = reinterpret_cast<TouchType>(cube);
216
																}
216
																}
217
														}
217
														}
218
												}
218
												}
219
										}		
219
										}		
220
				}
220
				}