Subversion Repositories gelsvn

Rev

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

Rev 399 Rev 403
Line 210... Line 210...
210
{
210
{
211
	if(es<maximum_eigenvalue)
211
	if(es<maximum_eigenvalue)
212
		for(VertexIter v=mani.vertices_begin(); v != mani.vertices_end(); ++v)
212
		for(VertexIter v=mani.vertices_begin(); v != mani.vertices_end(); ++v)
213
		{
213
		{
214
			Vec3f p = Vec3f(proj[es]);
214
			Vec3f p = Vec3f(proj[es]);
215
			float p0 = p[0];
-
 
216
			float p1 = p[1];
-
 
217
			float p2 = p[2];
-
 
218
			int idx = v->touched;
-
 
219
			double Qval = Q[es][v->touched];
215
			double Qval = Q[es][v->touched];
220
			
216
			
221
			v->pos += p * Qval * scale; // Vec3f(proj[es] * Q[es][v->touched] * scale); 	
217
			v->pos += p * Qval * scale; 	
222
		}
218
		}
223
}
219
}
224
 
220
 
225
void Harmonics::reset_shape()
221
void Harmonics::reset_shape()
226
{
222
{