952953954955956957958959
cylinderMatrix.m33 = 1; v.add(getParentItem("Jmol", cylinderMatrix)); } private String getConeResource() { MeshSurface m = getConeMesh(null, null, (short) 0); return getMeshData("Cone", m.polygonIndexes, m.vertices, m.vertices); }
394395396397398399400401402403404
} return list; } protected static MeshSurface getConeMesh(Point3f centerBase, Matrix3f matRotateScale, short colix) { MeshSurface ms = new MeshSurface(); int ndeg = 10; int n = 360 / ndeg; ms.colix = colix; ms.vertices = new Point3f[ms.vertexCount = n + 1]; ms.polygonIndexes = new int[ms.polygonCount = n][];