Ver Fonte

Types: fix missing properties (#31772)

* Types: fix missing properties

* Update SkeletonUtils.js

Revert changes to `getHelperFromSkeleton()`.

---------

Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
Samuel Rigaud há 6 meses atrás
pai
commit
f28712f27a
2 ficheiros alterados com 3 adições e 3 exclusões
  1. 1 1
      examples/jsm/loaders/lwo/IFFParser.js
  2. 2 2
      src/constants.js

+ 1 - 1
examples/jsm/loaders/lwo/IFFParser.js

@@ -1013,7 +1013,7 @@ class DataViewReader {
 
 	getFloat64() {
 
-		const value = this.dv.getFloat64( this.offset, this.littleEndian );
+		const value = this.dv.getFloat64( this.offset );
 		this.offset += 8;
 		return value;
 

+ 2 - 2
src/constants.js

@@ -1670,6 +1670,6 @@ export const InterpolationSamplingMode = {
  * @property {string} NORMAL - Normal sampling mode.
  * @property {string} CENTROID - Centroid sampling mode.
  * @property {string} SAMPLE - Sample-specific sampling mode.
- * @property {string} FLAT_FIRST - Flat interpolation using the first vertex.
- * @property {string} FLAT_EITHER - Flat interpolation using either vertex.
+ * @property {string} FIRST - Flat interpolation using the first vertex.
+ * @property {string} EITHER - Flat interpolation using either vertex.
  */

粤ICP备19079148号