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

core_2d_camera_platfomer.jai compile compile error #1

Open
Manquia opened this issue Feb 18, 2021 · 0 comments
Open

core_2d_camera_platfomer.jai compile compile error #1

Manquia opened this issue Feb 18, 2021 · 0 comments

Comments

@Manquia
Copy link

Manquia commented Feb 18, 2021

.\examples\core_2d_camera_platfomer.jai

For some reason examples/core_2d_camera_platfomer.jai has a compilation error about a type mis-match between Vector2 and Vector2. Not sure what is going on here.

examples/core_2d_camera_platfomer.jai:230,29: Error: Type mismatch: incompatible structs (wanted 'Vector2'[C:/jai/modules/raylib.jai:402], given 'Vector2'[raylib-jai-master/raylib.jai:402]).

camera.offset = make_Vector2(width/2, height/2);
diff := Vector2Subtract(player.position, camera.target);
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

1 participant