shapes3D library issue?

edited December 2016 in Library Questions

Hi, I´m trying to use the shapes3D library but I always get the same error and dunno why: java.lang.RuntimeException: java.lang.NoSuchMethodError: processing.core.PVector.set(Lprocessing/core/PVector;)V Is there something wrong with the code or is just a compatibility issue? ( versions: -Processing:3.1.1// -Shapes3d: 2.1.4)

import shapes3d.*;
import shapes3d.animation.*;
import shapes3d.utils.*;

Ellipsoid core;

void setup() {////////////////////////////////////////////////////////////////////////////////////////////////////
  size(400, 400, P3D); 

  core= new Ellipsoid(this, 20, 30);
  core.setRadius(90);
  core.moveTo(new PVector(0, 0, 0));
  core.fill(color(255, 111));
  core.drawMode(Shape3D.SOLID);
}

  void draw() {////////////////////////////////////////////////////////////////////////////////////////////////////
    background(0);
    camera(0, -190, 350, 0, 0, 0, 0, 1, 0);
    lights();

    core.draw();
  }

Answers

Sign In or Register to comment.