POV-Ray : Newsgroups : povray.advanced-users : the POV-ray SDL--similar to Java and/or Python? : Re: the POV-ray SDL--similar to Java and/or Python? Server Time
6 Oct 2024 15:20:11 EDT (-0400)
  Re: the POV-ray SDL--similar to Java and/or Python?  
From: jute
Date: 14 Sep 2006 18:10:00
Message: <web.4509d1f7dcfb777ff43b014e0@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.