Derived Drive
JCHJava Community | Help. Code. Learn.
•Created by Derived Drive on 1/29/2025 in #java-help
Atom editor - coloring the syntax
Hi, does anybody inda house using Atom editor and have issue with color making the code?
I ve tried change Color syntax theme and it did not work.
It look like one should have some code for it.
thnx 4 reply.
4 replies
JCHJava Community | Help. Code. Learn.
•Created by Derived Drive on 1/28/2025 in #java-help
Max/M4L first java test
Hi guys, I duno if u can help me out, since this in Max environment, which may be specifics, but this fcnt should give value 4.3 but gives nan.
This part of tuts, so I continue in that, but I already smth missing so would like to figure it out.
var mySketch = new JitterObject("jit.gl.sketch", "ecoSys");
function Vector(x, y, z) {
this.x = x;
this.y = y;
this.z = z;
this.add = function(s) {
this.x += s.x;
this.y += s.y;
this.z += s.z;
}
this.mult = function(s) {
this.x = s.x;
this.y= s.y;
this.z *= s.z;
}
this.sub = function(s) {
this.x -= s.x;
this.y -= s.y;
this.z -= s.z;
}
this.div = function(s) {
this.x /= s.x;
this.y /= s.y;
this.z /= s.z;
}
}
var myVec = new Vector(0.3, 0.4, 0.7);
myVec.add(4);
post(myVec.x);
5 replies