mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-30 15:12:13 +02:00
12 lines
330 B
JavaScript
12 lines
330 B
JavaScript
(function() {
|
|
return {
|
|
preload: function(uuid) {
|
|
var shape = Entities.getEntityProperties(uuid).shape === 'Sphere' ? 'Cube' : 'Sphere';
|
|
|
|
Entities.editEntity(uuid, {
|
|
shape: shape,
|
|
color: { red: 0xff, green: 0xff, blue: 0xff },
|
|
});
|
|
}
|
|
};
|
|
})
|