biojs-vis-pdbviewer
Version:
A BioJS 2.0 component to view protein structures
10 lines (9 loc) • 354 B
JavaScript
Clazz.declarePackage ("J.shapesurface");
Clazz.load (["J.shapesurface.Pmesh"], "J.shapesurface.Plot3D", null, function () {
c$ = Clazz.declareType (J.shapesurface, "Plot3D", J.shapesurface.Pmesh);
Clazz.defineMethod (c$, "initShape",
function () {
Clazz.superCall (this, J.shapesurface.Plot3D, "initShape", []);
this.myType = "plot3d";
});
});