Skip to content

Commit

Permalink
Increase fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandojsg committed Dec 14, 2016
1 parent f95837b commit d90ad22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion paintings/dancer.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions src/systems/brush.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ AFRAME.registerBrush = function (name, definition, options) {
for (var i = 0; i < this.data.points.length; i++) {
var point = this.data.points[i];
points.push({
'orientation': point.orientation.toArray().toNumFixed(3),
'position': point.position.toArray().toNumFixed(3),
'pressure': point.pressure.toNumFixed(3),
'orientation': point.orientation.toArray().toNumFixed(6),
'position': point.position.toArray().toNumFixed(6),
'pressure': point.pressure.toNumFixed(6),
'timestamp': point.timestamp
});
}

return {
brush: {
index: system.getUsedBrushes().indexOf(this.brushName),
color: this.data.color.toArray().toNumFixed(3),
size: this.data.size.toNumFixed(3)
color: this.data.color.toArray().toNumFixed(6),
size: this.data.size.toNumFixed(6)
},
points: points
};
Expand Down

0 comments on commit d90ad22

Please sign in to comment.