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

[3dEXT] error: default member initializer for 'w' needed #225

Closed
ajh123 opened this issue Apr 17, 2021 · 2 comments
Closed

[3dEXT] error: default member initializer for 'w' needed #225

ajh123 opened this issue Apr 17, 2021 · 2 comments

Comments

@ajh123
Copy link

ajh123 commented Apr 17, 2021

I have updated the car crime city part 2 to use 3d extension v0.4 and pixel engine v2.15 and i get

In file included from main.cpp:63:
In file included from ./cCarCrimeCity.h:65:
./olcPGEX_Graphics3D.h:190:138: error: default member initializer for 'w' needed
      within definition of enclosing class 'GFX3D' outside of member functions
  ...pos, olc::GFX3D::vec3d dir = { 0.0f, 0.0f, 1.0f }, float fParam = 0.0f);

However on 3d extension v0.3 it was just on a different line,
If it helps i'm on MacOS.

@ajh123 ajh123 changed the title error: default member initializer for 'w' needed [3dEXT] error: default member initializer for 'w' needed Apr 17, 2021
@brccabral
Copy link

I think this is solved by #338

@ajh123
Copy link
Author

ajh123 commented May 9, 2023

This is an old issue now.
Closing now ...

@ajh123 ajh123 closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2023
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

2 participants