Skip to content

Commit

Permalink
Update createCamera2.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
HypnosNova authored Feb 18, 2024
1 parent f0cbfd7 commit b8ffa4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/factory/entities/createCamera2.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { IWorld } from "@valeera/x";
import { World } from "@valeera/x";
import { AProjection2 } from "../../components/matrix3";
import { Camera2 } from "../../entities/Camera2";

export const createCamera2 = (projection: AProjection2, name = "camera", world?: IWorld): Camera2 => {
export const createCamera2 = (projection: AProjection2, name = "camera", world?: World): Camera2 => {
const entity = new Camera2(name, projection);

if (world) {
Expand Down

0 comments on commit b8ffa4c

Please sign in to comment.