|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Adding new elements » » » » Post: Re: Adding new elements |
Print at Dec 22, 2025, 7:19:34 AM |
| Posted by anandunadkat at Jan 17, 2013, 10:15:41 AM |
|
Re: Adding new elements So to give you an idea, i have pasted the code below. public static void addRightAngleRail(Home home, UserPreferences preferences, Float homeLength, Float homeBreadth) { HomePieceOfFurniture furniture; furniture =createFurniture(preferences,7 , 2, homeLength,homeBreadth-100); furniture.setColor(-255); furniture.setAngle(1.57f); home.addPieceOfFurniture(furniture); As you can see i have created a new object, but it doesnt want to appear, are you saying that i copy the furniture library to my eclipse project folder? |
|
|
Current timezone is GMT Dec 22, 2025, 7:19:34 AM |