Giter Site home page Giter Site logo

ic-pcg / wavefunctioncollapse Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 3.0 36.09 MB

C implementation of Maxim Gumin's wave function algorithm done as a part of our C project at Imperial

License: MIT License

Makefile 4.11% C 95.89%
c gamedev procedural-generation wfc

wavefunctioncollapse's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wavefunctioncollapse's Issues

Minimal C++ compiler compatibility

I'm forced to build with clang++. Every calloc/malloc require typecasting for building with c++.
So I had to typecast every calloc and unfortunately I have to do this every time when you update.
It would be great if you can add the typecasts for minimum C++ compatibility.

Ex:
Coords *minima = calloc(sizeX * sizeY, sizeof(Coords));
to
Coords *minima = (Coords *)calloc(sizeX * sizeY, sizeof(Coords));

MacOS build fail with GLUT Fatal Error

I'm trying to build on MacOS but having a issue with GLUT.
I searched but couldn't find a proper solution. Any idea why is this happens?

GLUT Fatal Error: internal error: NSInternalInconsistencyException, reason: NSWindow drag regions should only be invalidated on the Main Thread!

Thank you

About the license...

I'm planning to implement this project(by given you a proper credits of course) as a free(open source) C native extension to Defold game engine.
I couldn't find any license info. Is it MIT? Do you have any license/usage restriction?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.