topical media & game development

talk show tell print

graphic-processing-site-examples-Libraries-OpenGL-Yellowtail-Vec3f.pde / pde



  class Vec3f {
    float x;
    float y;
    float p;  // Pressure
  
    Vec3f() {
      set(0, 0, 0);
    }
    
    Vec3f(float ix, float iy, float ip) {
      set(ix, iy, ip);
    }
  
    void set(float ix, float iy, float ip) {
      x = ix;
      y = iy;
      p = ip;
    }
  }
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.