how about
public static mesh loadfrom3DS(string filename)
{
//write the code to import 3DS files here.
}
then we can do this:
POVmesh myMesh = loadfrom3DS("somefile.3ds");
//sorry the object keyword is already taken.
---
*runs for cover*
Warp wrote:
> Bryan Valencia <209### [at] gmail calm> wrote:
>> POVMesh myMesh = new POVMESH.loadfrom3DS("Somefile.3DS");
>
> Why the obsession with 'new'?
>
> How about:
>
> Object o = import3DS("Somefile.3ds");
>
> More abstract, less confusing syntax. No need for useless 'news'.
>
--
Bryan Valencia
"I'd rather live with false hope than with false despair."
Post a reply to this message
|