|
|
Warp <war### [at] tagpovrayorg> wrote:
>
> There are basically three requirements for an OOP language:
>
> 1) Modules.
#include, like you pointed out.
> 2) Inheritance.
now w/ operator overloading!
#declare Sphere = sphere { <0,0,0>, 1 pigment { rgb 1 } }
#declare Sphere_Child = sphere { Sphere pigment { rgb 0 } }
> 3) Dynamic binding.
Well, gosh.
:P
--
jussi
Post a reply to this message
|
|