intravenous

diff src/vein.h @ 3:94d4c60af435

some progress
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 22 Apr 2012 03:35:18 +0300
parents 3ea290d35984
children c6a6a64df6de
line diff
     1.1 --- a/src/vein.h	Sat Apr 21 23:03:36 2012 +0300
     1.2 +++ b/src/vein.h	Sun Apr 22 03:35:18 2012 +0300
     1.3 @@ -10,6 +10,8 @@
     1.4  	int subdiv, ring_subdiv;
     1.5  
     1.6  	unsigned int *idxbuf;
     1.7 +	unsigned int sdr;
     1.8 +	int attr_tang_loc;
     1.9  
    1.10  	Vector3 calc_center(const Vector3 &ppos) const;
    1.11  	Vector3 calc_dir(const Vector3 &ppos) const;
    1.12 @@ -20,6 +22,8 @@
    1.13  	Vein();
    1.14  	~Vein();
    1.15  
    1.16 +	bool init();
    1.17 +
    1.18  	void draw(const Vector3 &player_pos) const;
    1.19  };
    1.20