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

cant initialize camera #14

Open
tobiaszmpl opened this issue Jan 6, 2015 · 2 comments
Open

cant initialize camera #14

tobiaszmpl opened this issue Jan 6, 2015 · 2 comments

Comments

@tobiaszmpl
Copy link

Hi,

I can`t initialize camera in my project :/
As far as I debug it, code stops at: 'CanvasCamera.initialize(canvasMain);' from the exemaple.
I add plugin from 'master' because the stable version didnt work...

You can see my project: https://github.com/tobiaszmpl/CanvasCameraPlugin---problem

Best Regards,
Tobiasz

@jdschuitemaker
Copy link

Do you happen to see an error related to line 100 in CanvasCamera.js? I see an error happening there in this line:

this._obj.width = windowWidth;// * pixelRatio; /// resolution of canvas

It can't assign value to undefined variable.

@alistairheath
Copy link

Is there any resolution to this? I am having the same problem and I'm unsure what to do. I looked at line 100 in the CanvasCamera.js file, as suggested above, but I couldn't find any problems.

Thanks,
Alistair

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

No branches or pull requests

3 participants