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

pixi3d

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pixi3d - npm Package Compare versions

Comparing version 2.3.2 to 2.4.0

types/lighting/fog.d.ts

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # Changelog

## [2.4.0] - 2023-05-13
### Added
- Added support for fog when using `StandardMaterial`.
## [2.3.2] - 2023-04-26

@@ -9,0 +13,0 @@ ### Fixed

2

package.json
{
"name": "pixi3d",
"version": "2.3.2",
"version": "2.4.0",
"description": "The 3D renderer for PixiJS. Seamless integration with 2D applications.",

@@ -5,0 +5,0 @@ "main": "dist/cjs/pixi5/pixi3d.js",

@@ -24,3 +24,3 @@ # Pixi3D

```
npx create-pixi3d-app my-pixi3d-app
npx create-pixi3d-app@latest my-pixi3d-app
```

@@ -27,0 +27,0 @@ After installation is complete, type `cd my-pixi3d-app` and `npm start` to start local web server.

@@ -27,2 +27,3 @@ export { glTFLoader } from "./loader/gltf-loader";

export { ImageBasedLighting } from "./lighting/image-based-lighting";
export { Fog } from "./lighting/fog";
export { StandardPipeline } from "./pipeline/standard-pipeline";

@@ -29,0 +30,0 @@ export { MaterialRenderPass } from "./pipeline/material-render-pass";

import { Renderer, IRendererPlugin } from "@pixi/core";
import { ImageBasedLighting } from "./image-based-lighting";
import { Light } from "./light";
import { Fog } from "./fog";
/**

@@ -14,2 +15,3 @@ * A lighting environment represents the different lighting conditions for a

lights: Light[];
fog?: Fog;
/** The main lighting environment which is used by default. */

@@ -16,0 +18,0 @@ static main: LightingEnvironment;

@@ -7,3 +7,3 @@ import { ObservablePoint, IPoint } from "@pixi/math";

*/
export declare class Point3D extends ObservablePoint {
export declare class Point3D extends ObservablePoint implements IPoint3DData {
private _array;

@@ -38,3 +38,3 @@ /** Array containing the x, y, z values. */

clone(cb?: (this: any) => any, scope?: any): Point3D;
copyFrom(p: Point3D): this;
copyFrom(p: IPoint3DData): this;
copyTo<T extends IPoint>(p: T): T;

@@ -142,1 +142,6 @@ equals(p: Point3D): boolean;

}
export interface IPoint3DData {
x: number;
y: number;
z: number;
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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