Code Monkey home page Code Monkey logo

Comments (5)

Mikayex avatar Mikayex commented on August 11, 2024 1

Hi !
You are using three-d 0.6.1 in your Cargo.toml while trying to implement the triangle example from the master branch.
WindowSettings is a relatively new struct, not available in a release yet.
That also explains why you couldn't find it in the documentation...

Either use the master in your Cargo.toml or use this triangle example

from three-d.

Mikayex avatar Mikayex commented on August 11, 2024 1

@asny I think the solution (but it is a bit late now) would be to only put releases in master branch and put unreleased commits in a develop branch. That way, the readme people see when landing on the project page would correspond to the lastest release.
This process can only be made in place on next release now...

from three-d.

OhBonsai avatar OhBonsai commented on August 11, 2024 1

@Mikayex Thank you for you solution~~. I am using submodule to ref three-d source code

[submodule "three-d"]
	path = three-d
	url = https://github.com/asny/three-d.git

from three-d.

asny avatar asny commented on August 11, 2024

You are very welcome @OhBonsai 🙂 and I can only concur with what @Mikayex said 👆 maybe I should make it more clear in the readme.

from three-d.

asny avatar asny commented on August 11, 2024

@Mikayex I actually had a development branch, it is still there, but then people started making pull requests to master and I didn't bother to enforce development on the development branch, I don't want to make it cumbersome for people to contribute. Anyway the problem persist if you are using the non-latest release, say 0.5 then master will have the 0.6 examples. I think one should look at crates.io if using a release (since the readme and the link to the right examples is persisted) and GitHub if using the code directly. I would write something like that in the readme but might be difficult. What do you think? Maybe I should look at what others do.

from three-d.

Related Issues (20)

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.