| 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 | 
| 
 | 
  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. 
  
  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': 
  
  
   |