xeolabs / xeogl

A WebGL-based 3D engine for technical visualization. Not actively maintained.
http://xeogl.org
Other
1.15k stars 264 forks source link

xeogl.Transform#parent can't be defined as JSON #150

Closed xeolabs closed 6 years ago

xeolabs commented 7 years ago
new xeogl.Entity({
        transform: { 
            type: "xeogl.Rotate",
            xyz: [0, 1, 0],
            angle: 0,
            parent: {   // <<---------- broken
                type: "xeogl.Rotate",
                xyz: [0, 1, 0],
                angle: 0
            }
        }
    });