PHP Classes

I can not execute this package.

Recommend this page to a friend!

      Convex 3D  >  All threads  >  I can not execute this package.  >  (Un) Subscribe thread alerts  
Subject:I can not execute this package.
Summary:Package rating comment
Messages:2
Author:Nikolay Lyakov
Date:2008-06-10 13:04:31
Update:2008-06-12 05:08:47
 

Nikolay Lyakov rated this package as follows:

Utility: Not sure
Consistency: Not sure
Documentation: Bad
Examples: Bad

  1. I can not execute this package.   Reply   Report abuse  
Picture of Nikolay Lyakov Nikolay Lyakov - 2008-06-10 13:04:32
I can not execute this package. There is no examples how to build my own cube or different 3d object. This package is not working or I can't make it runable.
The idea is excelent, but not documented.

  2. Re: I can not execute this package.   Reply   Report abuse  
Picture of László Zsidi László Zsidi - 2008-06-12 05:08:47 - In reply to message 1 from Nikolay Lyakov
Hi,
Revise the "view.php" example file to the class constructor's usage.
GET the meanings of variables:
$convex3d = new Convex3D(char Objtype, char int/ext, array background color components ( r, g, b ), array foreground color components (r, g, b ), int width, int height);

int/ext variable maybe 'INT' use of internal objects or 'EXT' use of external object from a file.

If the int/ext variable is 'INT' then objtype are:
'cube','cuboctahedron','dodecahedron','icosahedron',
'icosidodecahedron','icosidodecahedron_2','octahedron',
'rhombicosidodecahedron','rhombicuboctahedron',
'snub_cuboctahedron','tetrahedron','truncated_cube',
'truncated_cuboctahedron','truncated_dodecahedron',
'truncated_icosahedron','truncated_icosidodecahedron',
'truncated_octahedron','truncated_tetrahedron':