Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/cientos/src/core/abstractions/Edges.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ watch(
<template>
<TresLineSegments
ref="lineSegmentsRef"
v-bind="$attrs"
>
<slot>
<TresLineBasicMaterial :color="color" />
Expand Down
2 changes: 1 addition & 1 deletion packages/cientos/src/core/abstractions/Levioso.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ defineExpose({

<template>
<TresGroup
v-bind="$attrs"

ref="groupRef"
>
<slot></slot>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,5 @@ onBeforeUnmount(() => {
<TresPositionalAudio
ref="positionalAudioRef"
:args="[listener]"
v-bind="$attrs"
/>
</template>
1 change: 0 additions & 1 deletion packages/cientos/src/core/loaders/useFBX/component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,5 @@ export interface FBXModelProps {
<primitive
v-if="!isLoading && model"
:object="model"
v-bind="$attrs"
/>
</template>
1 change: 0 additions & 1 deletion packages/cientos/src/core/loaders/useGLTF/component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,5 @@ export interface GLTFModelProps {
<primitive
v-if="!isLoading && state?.scene"
:object="state?.scene"
v-bind="$attrs"
/>
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,5 @@ defineExpose({ instance: materialRef })
<TresMeshWobbleMaterial
ref="materialRef"
:factor="factor"
v-bind="$attrs"
/>
</template>
2 changes: 1 addition & 1 deletion packages/cientos/src/core/misc/html/HTML.vue
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ defineExpose({
</script>

<template>
<TresGroup v-bind="$attrs" ref="groupRef">
<TresGroup ref="groupRef">
<template v-if="occlude && !isRayCastOcclusion">
<TresMesh
ref="occlusionMeshRef"
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/shapes/Box.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ defineExpose({
<template>
<TresMesh
ref="boxRef"
v-bind="$attrs"
>
<TresBoxGeometry :args="args" />
<slot>
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/shapes/Circle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ defineExpose({
<template>
<TresMesh
ref="circleRef"
v-bind="$attrs"
>
<TresCircleGeometry :args="args" />
<slot>
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/shapes/Cone.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ defineExpose({
<template>
<TresMesh
ref="coneRef"
v-bind="$attrs"
>
<TresConeGeometry :args="args" />
<slot>
Expand Down
2 changes: 1 addition & 1 deletion packages/cientos/src/core/shapes/Cylinder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ defineExpose({
</script>

<template>
<TresMesh ref="cylinderRef" v-bind="$attrs">
<TresMesh ref="cylinderRef">
<TresCylinderGeometry :args="args" />
<slot>
<TresMeshBasicMaterial :color="color" />
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/shapes/Dodecahedron.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ defineExpose({
<template>
<TresMesh
ref="dodecahedronRef"
v-bind="$attrs"
>
<TresDodecahedronGeometry :args="args" />
<slot>
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/shapes/Icosahedron.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ defineExpose({
<template>
<TresMesh
ref="icosahedronRef"
v-bind="$attrs"
>
<TresIcosahedronGeometry :args="args" />
<slot>
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/shapes/Octahedron.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ defineExpose({
<template>
<TresMesh
ref="octahedronRef"
v-bind="$attrs"
>
<TresOctahedronGeometry :args="args" />
<slot>
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/shapes/Plane.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ defineExpose({
<TresMesh
ref="planeRef"
:rotation="[-Math.PI / 2, 0, 0]"
v-bind="$attrs"
>
<TresPlaneGeometry :args="args" />
<slot>
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/shapes/Ring.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ defineExpose({
<template>
<TresMesh
ref="ringRef"
v-bind="$attrs"
>
<TresRingGeometry :args="args" />
<slot>
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/shapes/Sphere.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ defineExpose({
<template>
<TresMesh
ref="sphereRef"
v-bind="$attrs"
>
<TresSphereGeometry :args="args" />
<slot>
Expand Down
2 changes: 1 addition & 1 deletion packages/cientos/src/core/shapes/Superformula.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ defineExpose({
<template>
<TresMesh
ref="superformulaRef"
v-bind="$attrs"

:geometry="geometry"
>
<slot>
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/shapes/Tetrahedron.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ defineExpose({
<TresMesh
ref="tetrahedronRef"
:rotation="[-Math.PI / 2, 0, 0]"
v-bind="$attrs"
>
<TresTetrahedronGeometry :args="args" />
<slot>
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/shapes/Torus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ defineExpose({
<template>
<TresMesh
ref="torusRef"
v-bind="$attrs"
>
<TresTorusGeometry :args="args" />
<slot>
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/shapes/TorusKnot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ defineExpose({
<template>
<TresMesh
ref="torusKnotRef"
v-bind="$attrs"
>
<TresTorusKnotGeometry :args="args" />
<slot>
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/shapes/Tube.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ defineExpose({
<template>
<TresMesh
ref="tubeRef"
v-bind="$attrs"
>
<TresTubeGeometry :args="args" />
<slot>
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/staging/Backdrop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ defineExpose({ instance: backdropRef })
<template>
<TresGroup
ref="backdropRef"
v-bind="$attrs"
>
<TresMesh
:receive-shadow="receiveShadow"
Expand Down
1 change: 0 additions & 1 deletion packages/cientos/src/core/staging/Smoke.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ onBeforeRender(() => {
<template>
<TresGroup
ref="smokeRef"
v-bind="$attrs"
>
<TresGroup
ref="groupRef"
Expand Down
Loading