  | 
  | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
Hi,
This will create a wall consisting of irregularly-shaped rectangular bricks.
New in this version:
	*support for custom brick types
	*trimmed edges
	*better variation
Enjoy~
Sam
 
 Post a reply to this message 
 
Attachments: 
Download 'otoc.zip' (3 KB)
 
  
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
>stbenge  on date 07/06/2011 21:14 wrote:
> Hi,
>
> This will create a wall consisting of irregularly-shaped rectangular
> bricks.
>
> New in this version:
> *support for custom brick types
> *trimmed edges
> *better variation
>
> Enjoy~
>
> Sam
It seems good and fast.
;-)
Paolo
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
Am 07.06.2011 21:14, schrieb stbenge:
> Hi,
>
> This will create a wall consisting of irregularly-shaped rectangular
> bricks.
I'm wondering: Is there a reason the #include "shapes.inc" statement is 
part of the OTO_Object macro, thereby repeatedly including that file 
every time the macro is called?
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
> Am 07.06.2011 21:14, schrieb stbenge:
>> Hi,
>>
>> This will create a wall consisting of irregularly-shaped rectangular
>> bricks.
>
> I'm wondering: Is there a reason the #include "shapes.inc" statement is
> part of the OTO_Object macro, thereby repeatedly including that file
> every time the macro is called?
>
The macro need something from shapes.inc and include it just in case.
The current #include statement should be replaced by:
#ifndef( Shapes_Inc_Temp ) #include "shapes.inc" #end
That way, if shapes.inc is already included, there will be no attempt to 
reinclude it.
This will improve performances. You'll no longer need to open the file 
and reat it all just to skip almost all of it's content.
Alain
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   |