Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

3d-game-engine-canvas

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

3d-game-engine-canvas - npm Package Compare versions

Comparing version 0.1.25 to 0.1.26

2

package.json
{
"name": "3d-game-engine-canvas",
"version": "0.1.25",
"version": "0.1.26",
"type": "module",

@@ -5,0 +5,0 @@ "scripts": {

# 3D game engine canvas
[![wakatime](https://wakatime.com/badge/github/jaanonim/3d-game-engine-canvas.svg)](https://wakatime.com/badge/github/jaanonim/3d-game-engine-canvas)
[![wakatime](https://wakatime.com/badge/github/jaanonim/3d-game-engine-canvas.svg)](https://wakatime.com/badge/github/jaanonim/3d-game-engine-canvas) [![Deploy package to npm](https://github.com/jaanonim/3d-game-engine-canvas/actions/workflows/deploy-npm.yaml/badge.svg)](https://github.com/jaanonim/3d-game-engine-canvas/actions/workflows/deploy-npm.yaml) [![Deploy static docs content to Pages](https://github.com/jaanonim/3d-game-engine-canvas/actions/workflows/deploy-doc.yaml/badge.svg)](https://github.com/jaanonim/3d-game-engine-canvas/actions/workflows/deploy-doc.yaml)

@@ -5,0 +5,0 @@ 3D game engine written from ground up with typescript (no library) that use canvas 2D to render to screen. It's structure is heavily inspired by Unity's GameObjects and Component structure.

@@ -153,5 +153,5 @@ import Camera from "../components/Camera";

destroy() {
async destroy() {
if (!this.transform.parent) throw new Error("No parent");
this.onDestroy();
await this.onDestroy();
(this.transform.parent instanceof Scene

@@ -158,0 +158,0 @@ ? this.transform.parent

@@ -221,3 +221,3 @@ import { Sphere } from "./math/Math";

t.normal,
[true, t.hidden[1], t.hidden[1]]
[true, t.hidden[1] && t.hidden[2], t.hidden[1]]
),

@@ -264,3 +264,3 @@ ];

t.normal,
[true, t.hidden[1], t.hidden[1]]
[true, t.hidden[1] && t.hidden[0], t.hidden[1]]
),

@@ -307,3 +307,3 @@ ];

t.normal,
[true, t.hidden[2], t.hidden[2]]
[true, t.hidden[2] && t.hidden[0], t.hidden[2]]
),

@@ -310,0 +310,0 @@ ];

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc