Commit d10af69111ea2e458e528e4881b4e9f75442ff12

Authored by Pavel Govyadinov
1 parent e45b97ce

fixes to the cylinder class

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
stim/gl/gl_spider.h
... ... @@ -234,8 +234,8 @@ class gl_spider : public virtual gl_texture<T>
234 234 {
235 235 for(int i = 0; i < result.size(); i++)
236 236 {
237   - std::cout << "Testing "<< i << ": " << result[i][0] << ", " << result[i][1] << std::endl;
238   - stim::vec<float> v = cyl.surf(result[i][0], result[i][1]*360);
  237 + std::cout << "Testing "<< i << ": " << result[i][0] << ", " << result[i][1]*360.0 << std::endl;
  238 + stim::vec<float> v = cyl.surf(result[i][0], result[i][1]*360.0);
239 239 std::cout << v[0] << " ," << v[1] << " ," << v[2] << std::endl;
240 240 stim::vec<float> di = cyl.p(result[i][0]);
241 241 std::cout << di[0] << " ," << di[1] << " ," << di[2] << std::endl;
... ...