Skip to main content

Matrix4

A utility identical to THREE.Matrix4 so you don't have to BYO.

See three.js docs for more info.

import React from "react";
import { Matrix4 } from "hyperfy";

export default function App() {
const matrix = new Matrix4();
matrix.set( 11, 12, 13, 14,
21, 22, 23, 24,
31, 32, 33, 34,
41, 42, 43, 44 );
console.log(matrix);

return <app />;
}