Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert last two examples to AppBase #6038

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

erikdubbelboer
Copy link
Contributor

All the other particle examples use AppBase already. This will make it easier to work on the WebGPU particles implementation.

Fixes #6022

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

All the other particle examples use AppBase already. This will make it
easier to work on the WebGPU particles implementation.
const device = await pc.createGraphicsDevice(canvas, gfxOptions);
const createOptions = new pc.AppOptions();
createOptions.graphicsDevice = device;
createOptions.mouse = new pc.Mouse(document.body);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd remove mouse / touch / element input, it does not seem the example needs any input.

Copy link
Contributor

@mvaligursky mvaligursky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to create more issues, you go through them so fast, thanks! :)

@kpal81xd kpal81xd merged commit 68803c4 into playcanvas:main Feb 6, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Examples] Convert Particle examples to use AppBase and not Application
3 participants