Skip to content

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

Description

@samuelh2005

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions