Added noarg item to example to show director default constructor.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
bd4f186ae1
commit
476fcbf76a
4 changed files with 69 additions and 2 deletions
|
|
@ -8,6 +8,12 @@ public:
|
|||
virtual bool cover( double x, double y ); // does this shape cover this point?
|
||||
};
|
||||
|
||||
class volume {
|
||||
public:
|
||||
virtual double depth( double x, double y );
|
||||
};
|
||||
|
||||
extern void draw_shape_coverage( shape *s, int div_x, int div_y );
|
||||
extern void draw_depth_map( volume *v, int div_x, int div_y );
|
||||
|
||||
#endif//EXAMPLE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue