|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: how to get area of room » » » » Post: Re: how to get area of room |
Print at Dec 20, 2025, 2:13:48 AM |
| Posted by Puybaret at Jul 11, 2011, 12:38:36 AM |
|
Re: how to get area of room Room#getArea does work correctly. float s1[][] = { { 0, 0 }, { 0, 4 }, { 4, 0 }, { 4, 4 } }; This shape has actually an area of 8.float s1[][] = { { 0, 0 }, { 0, 4 }, { 4, 4 }, { 4, 0 } }; This square shape has an area of 16.---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 20, 2025, 2:13:48 AM |