เมธอด matrix3d()
ใช้ matrix3d(a1, b1, c1, d1, a2, b2, c2, d2, a3, b3, c3, d3, a4, b4, c4, d4) สำหรับการแปลง 3D ด้วยเมทริกซ์ 4x4
รูปแบบไวยากรณ์
matrix3d(a1, b1, c1, d1, a2, b2, c2, d2, a3, b3, c3, d3, a4, b4, c4, d4)
a1..d3: ตัวเลขแทนการแปลงเชิงเส้น (linear transformation)
a4, b4, c4: ตัวเลขแทนการย้าย (translation)