Skip to content

addPolygon() without color keyword #4

@kvas7andy

Description

@kvas7andy

Hi! Thank you for the soft. While "make" I had some problems, but eventually came up to even binding C++ with python via pip.
Afterwards tested on room.py and cube.py. Room.py is ok, but after "python cube.py"I got this error:


Traceback (most recent call last):
  File "cube.py", line 128, in <module>
    main()
  File "cube.py", line 49, in main
    room.addPolygon(poly, color=Vector3(0.5,0.5,0.5))
TypeError: addPolygon() got an unexpected keyword argument 'color'

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