Connect to Splines
-
On 26/01/2013 at 04:49, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R13
Platform: Windows ;
Language(s) : C++ ;---------
Hey,I want to connect to splines to one:
_<_t_>_
LONG splinePointCount= spline->GetPointCount(); LONG splineSegmentCount= spline->GetSegmentCount(); spline->ResizeObject(splinePointCount\*2, splineSegmentCount\*2); Vector\* points = spline->GetPointW(); const Vector\* newPoints = spline2->GetPointR(); for (int i = splinePointCount-1, k = 0; k < splinePointCount; k++, i++) { points _= newPoints[k]; } Segment \*segments = spline->GetSegmentW(); const Segment \*newSegments = spline2->GetSegmentR(); for (int i = splineSegmentCount-1, k = 0; k < splineSegmentCount; k++, i++) { segments _= newSegments[k]; }
<_<_t_>_
The result is not complete false:
Anyone an idea?