Skip to content

Commit

Permalink
Fixet type matrix (#238)
Browse files Browse the repository at this point in the history
⎡ 1  0  0  0⎤
⎢ 0  1  0  0⎥
⎢ 0  0  1  0⎥
⎣ 0  0  0  1⎦
  • Loading branch information
lamo2k123 authored Mar 25, 2022
1 parent d6d13e8 commit 90b8361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deck.gl__mesh-layers/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ declare module '@deck.gl/mesh-layers/simple-mesh-layer/simple-mesh-layer' {
getOrientation?: ((d: D, context: AccessorContext<D>) => PitchYawRoll) | PitchYawRoll;
getScale?: ((d: D, context: AccessorContext<D>) => ScaleXYZ) | ScaleXYZ; // Scaling factor on the mesh along each axis.
getTranslation?: ((d: D, context: AccessorContext<D>) => TranslationXYZ) | TranslationXYZ; // Translation of the mesh along each axis. Offset from the center position given by getPosition. [x, y, z] in meters.
getTransformMatrix?: ((d: D, context: AccessorContext<D>) => number[][] | null) | number[][] | null; // 4x4 column-major model matrix
getTransformMatrix?: ((d: D, context: AccessorContext<D>) => number[] | null) | number[] | null; // 4x4 column-major model matrix
}
export default class SimpleMeshLayer<D, P extends SimpleMeshLayerProps<D> = SimpleMeshLayerProps<D>> extends Layer<
D,
Expand Down

0 comments on commit 90b8361

Please sign in to comment.