Skip to content

Commit

Permalink
add options.name for vue2 better debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
fritx committed Oct 17, 2016
1 parent ac70a2c commit 9d80e28
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Camera.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 8,8 @@ import Object3D from './Object3D'
import bus from '../bus'
export default {
name: 'Camera',
mixins: [Object3D],
props: {
Expand Down
2 changes: 2 additions & 0 deletions src/components/Object3D.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 7,8 @@ import { Object3D } from 'three'
import { assign } from '../util'
export default {
name: 'Object3D',
props: {
obj: { type: Object3D },
position: { type: Object }, // { x, y, z }
Expand Down
2 changes: 2 additions & 0 deletions src/components/Renderer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 11,8 @@ import { WebGLRenderer } from 'three'
import bus from '../bus'
export default {
name: 'Renderer',
props: {
size: {
type: Object, // { w, h }
Expand Down
2 changes: 2 additions & 0 deletions src/components/Scene.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 8,8 @@ import Object3D from './Object3D'
import bus from '../bus'
export default {
name: 'Scene',
mixins: [Object3D],
props: {
Expand Down

0 comments on commit 9d80e28

Please sign in to comment.