1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-16 21:58:26 +01:00
This commit is contained in:
Justin Lin 2022-05-15 09:38:50 +08:00
parent 9b2bf9e19b
commit e2bf9f36b0

View File

@ -27,8 +27,8 @@ function _rotx(pt, a) =
let(cosa = cos(a), sina = sin(a))
[
pt.x,
pt.y * cosa - pt[2] * sina,
pt.y * sina + pt[2] * cosa
pt.y * cosa - pt.z * sina,
pt.y * sina + pt.z * cosa
];
function _roty(pt, a) =