| To: | info-inventor@xxxxxxxxxxx |
|---|---|
| Subject: | segmentation foult... |
| From: | Jaroslaw Rzepecki <jarekr@xxxxxxxxxxxxxxxxx> |
| Date: | Sun, 16 Dec 2001 14:49:44 +0100 (MET) |
| Sender: | owner-inventor@xxxxxxxxxxx |
Hi!
I have a problem with defining an SoClipPlane... Below you can see a
piece of my code:
SbVec3f *P1 = new SbVec3f();
SbVec3f *P2 = new SbVec3f();
SbVec3f *P3 = new SbVec3f();
P1->setValue(1,1,1);
P2->setValue(3,1,1);
P3->setValue(2,1,4);
SbPlane Plaszcz(*P1,*P2,*P3);
SoClipPlane *ClipPlaszcz = new SoClipPlane();
ClipPlaszcz->plane.setValue(Plaszcz);
it compiles well. Hovewer while running (and debuging) i get a
segmentation foult error at:
ClipPlaszcz->plane.setValue(Plaszcz);
What am I doeing wrong?
Thank you for help
jarek
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Stand Alone Inventor Application, Stuart Clark |
|---|---|
| Next by Date: | world coord, Jaroslaw Rzepecki |
| Previous by Thread: | Stand Alone Inventor Application, Stuart Clark |
| Next by Thread: | world coord, Jaroslaw Rzepecki |
| Indexes: | [Date] [Thread] [Top] [All Lists] |