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

Simplify & remove edition

customisations
alemart преди 1 година
родител
ревизия
7a34ac38c8
променени са 3 файла, в които са добавени 2 реда и са изтрити 17 реда
  1. 0
    6
      docs/api/martins.md
  2. 1
    2
      src/core/stats-panel.ts
  3. 1
    9
      src/main.ts

+ 0
- 6
docs/api/martins.md Целия файл

18
 
18
 
19
 The version of MARTINS.js.
19
 The version of MARTINS.js.
20
 
20
 
21
-### edition
22
-
23
-`Martins.edition: string, read-only`
24
-
25
-The edition of MARTINS.js.
26
-
27
 ## Methods
21
 ## Methods
28
 
22
 
29
 ### isSupported
23
 ### isSupported

+ 1
- 2
src/core/stats-panel.ts Целия файл

121
         };
121
         };
122
 
122
 
123
         this._container.textContent = (
123
         this._container.textContent = (
124
-            `MARTINS.js ${Martins.edition}
125
-            Version ${Martins.version}
124
+            `MARTINS.js v${Martins.version}
126
             FPS: [fps] | GPU: [gpu] [powerIcon]
125
             FPS: [fps] | GPU: [gpu] [powerIcon]
127
             IN : ${sourceStats}
126
             IN : ${sourceStats}
128
             OUT: ${trackerStats}`
127
             OUT: ${trackerStats}`

+ 1
- 9
src/main.ts Целия файл

93
     }
93
     }
94
 
94
 
95
     /**
95
     /**
96
-     * Engine edition
97
-     */
98
-    static get edition(): string
99
-    {
100
-        return 'Free Edition';
101
-    }
102
-
103
-    /**
104
      * Speedy Vision
96
      * Speedy Vision
105
      */
97
      */
106
     static get Speedy(): typeof Speedy
98
     static get Speedy(): typeof Speedy
126
 
118
 
127
 // Display a notice
119
 // Display a notice
128
 Utils.log(
120
 Utils.log(
129
-    `MARTINS.js ${Martins.edition} version ${Martins.version}. ` +
121
+    `MARTINS.js version ${Martins.version}. ` +
130
     `GPU-accelerated Augmented Reality for the web by Alexandre Martins. ` +
122
     `GPU-accelerated Augmented Reality for the web by Alexandre Martins. ` +
131
     __MARTINS_WEBSITE__
123
     __MARTINS_WEBSITE__
132
 );
124
 );

Loading…
Отказ
Запис