Debian Codegraph @

src/AO.h

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1
2 // class to compute ambient occlusion
3
4 class AOcxx . . $ AO#{
5 //private:
6 Point3fcxx . . $ vcg/Point3f# dircxx . . $ AO#dir.; // direction
7
8 vectorcxx . . $ std/vector#<float> bufcxx . . $ AO#buf.;
9 int bufxcxx . . $ AO#bufx., bufycxx . . $ AO#bufy.;
10 float bufscalecxx . . $ AO#bufscale.;
11
12 inline int indexcxx . . $ AO#index(9b79fb6aee4c0440).(int x, int y){
13 int res=x+bufxcxx . . $ AO#bufx.*y;
14 if (res<0) res=0;
•15 if (res >= (int)bufcxx . . $ AO#buf..sizecxx . . $ std/vector#size(c9b1e749b64d5edc).()) res=bufcxx . . $ AO#buf..sizecxx . . $ std/vector#size(c9b1e749b64d5edc).()-1;
16 return res;
17 //return x+bufx*y;
18 }
19
20 void PrintBuffercxx . . $ AO#PrintBuffer(49f6e7a06ebc5aa8).();
21 void RenderSpherecxx . . $ AO#RenderSphere(7e9a355db6148521).(float cx, float cy, float cz, float rad);
22 void CheckAtomcxx . . $ AO#CheckAtom(f32a922b976c2f37).(QAtomcxx . . $ QAtom# &a);
23
24 public:
25
26 AOcxx . . $ AO#AO(72d8b97c8152dd25).( Point3fcxx . . $ vcg/Point3f# _dir, Molcxx . . $ Mol# &m);
27
28 };