Replies: 2 comments 7 replies
-
@hrgdavor did you come across this when messing with THREE as well? |
Beta Was this translation helpful? Give feedback.
-
@hrgdavor @z3dev can you point me in the right direction for how the console.log(rotate([degToRad(45), 0, 0], cuboid({size: [1,2,10], center: [2, 2, 2]}))) Logs: {
polygons: ...
transforms: [1, 0, 0, 0, 0, 0.7071067811865476, 0.7071067811865475, 0, 0, -0.7071067811865475, 0.7071067811865476, 0, 0, 0, 0, 1]
} What do the 16 values represent? I was using How can I accurately map the transforms array to data like position, scale, rotation for use with a three mesh or elsewhere? |
Beta Was this translation helpful? Give feedback.
-
@z3dev why are the axis' transposed vs THREEjs?
For example, rendering the
primitives3D
example in each has them oriented differently with Z pointing upwards in JSCAD whereas Y points upwards in THREE:Beta Was this translation helpful? Give feedback.
All reactions