Diff of /trunk/IdealistViewer/Application/PrimMesherG.cs
Parent Directory
|
Revision Log
|
Patch
| revision 10, Sun Oct 26 18:08:35 2008 UTC | revision 11, Mon Oct 27 00:07:08 2008 UTC | |
|---|---|---|
| # | Line 45 | Line 45 |
| 45 | else if ((ProfileCurve)(primData.profileCurve & 0x07) == ProfileCurve.EqualTriangle) | else if ((ProfileCurve)(primData.profileCurve & 0x07) == ProfileCurve.EqualTriangle) |
| 46 | sides = 3; | sides = 3; |
| 47 | else if ((ProfileCurve)(primData.profileCurve & 0x07) == ProfileCurve.HalfCircle) | else if ((ProfileCurve)(primData.profileCurve & 0x07) == ProfileCurve.HalfCircle) |
| 48 | { // half circle, prim is a sphere | |
| 49 | sides = 24; | sides = 24; |
| 50 | profileBegin = 0.5f * profileBegin + 0.5f; | |
| 51 | profileEnd = 0.5f * profileEnd + 0.5f; | |
| 52 | } | |
| 53 | ||
| 54 | if ((HoleType)primData.ProfileHole == HoleType.Same) | if ((HoleType)primData.ProfileHole == HoleType.Same) |
| 55 | hollowsides = sides; | hollowsides = sides; |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

