Giter Site home page Giter Site logo

defold-terrain's Introduction

defold-terrain's People

Contributors

jcash avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

subsoap

defold-terrain's Issues

Does not build on windows + missing asset

The green.png is not included with the public repo

2021-03-11 23_05_47-defold-terrain - Defold Editor 2 0

/defold-terrain/src/loader_file.cpp
	Line 1: 'dlib/log.h' file not found
#include <dlib/log.h>
         ^~~~~~~~~~~~

/defold-terrain/src/terrain.cpp
	Line 55: expected body of lambda expression
    for (int i = 4; i--; ) near[i]      = mat[i][3] + mat[i][2];
                                        ^
	Line 56: expected body of lambda expression
    for (int i = 4; i--; ) far[i]       = mat[i][3] - mat[i][2];
                                        ^
	Line 307: unused variable 'wx' [-Wunused-variable]
    float wx = patch->m_XZ[0];
          ^
	Line 308: unused variable 'wz' [-Wunused-variable]
    float wz = patch->m_XZ[1];
          ^
	Line 313: unused variable 'world_size' [-Wunused-variable]
    uint32_t world_size = 65536;
             ^
	Line 325: unused variable 'u0' [-Wunused-variable]
            float u0 = x * oo_patch_size_f;
                  ^
	Line 326: unused variable 'u1' [-Wunused-variable]
            float u1 = (x+1) * oo_patch_size_f;
                  ^
	Line 327: unused variable 'v0' [-Wunused-variable]
            float v0 = z * oo_patch_size_f;
                  ^
	Line 328: unused variable 'v1' [-Wunused-variable]
            float v1 = (z+1) * oo_patch_size_f;
                  ^
	Line 370: unused variable 'patch_size' [-Wunused-variable]
    int patch_size = GetPatchSize(0);
        ^
	Line 677: unused variable 'camera_moved' [-Wunused-variable]
        bool camera_moved = camera_diffx!=0 || camera_diffz!= 0;
             ^
	Line 777: use of undeclared identifier 'M_PI'
        int octant = int( 8 * a / (2*M_PI) + 8.5f ) % 8;
                                     ^

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.