Преглед на файлове

fix: useTexture to show indentation for code snippet
@see needs to be under the code snippet

Daniel Philip Johnson преди 2 години
родител
ревизия
e983c5d945
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      packages/tres/src/core/useTexture/index.ts

+ 1 - 2
packages/tres/src/core/useTexture/index.ts

@@ -25,7 +25,6 @@ export interface PBRTextureMaps {
 /**
 /**
  * Composable for loading textures.
  * Composable for loading textures.
  *
  *
- * @see https://tresjs.org/examples/load-textures.html
  *
  *
  * ```ts
  * ```ts
  * import { useTexture } from 'tres'
  * import { useTexture } from 'tres'
@@ -43,7 +42,7 @@ export interface PBRTextureMaps {
  * ```vue
  * ```vue
  * <TresMeshStandardMaterial v-bind="pbrTexture" />
  * <TresMeshStandardMaterial v-bind="pbrTexture" />
  * ```
  * ```
- *
+ * @see https://tresjs.org/examples/load-textures.html
  * @export
  * @export
  * @param {(Array<string> | { [key: string]: string })} paths
  * @param {(Array<string> | { [key: string]: string })} paths
  * @return {*}  {(Promise<Texture | Array<Texture> | PBRTextureMaps>)}
  * @return {*}  {(Promise<Texture | Array<Texture> | PBRTextureMaps>)}