Giter Club home page Giter Club logo

Comments (3)

paddywwoof avatar paddywwoof commented on August 26, 2024

it gets slotted into the unif array so that all the information required by the shaders can get passed with one call of glUniform3fv() I will make a set_light method to go in Shape. I will give it a light number defaulting to 0 to we can use it to set other lights if (when) we get round to adding the functionality to the shaders

from pi3d.

rec avatar rec commented on August 26, 2024

It's true that the light parameter is used in the constructor, but it's
never used after that so there's no point in saving it in Shape.light.

I don't think this is a deal-breaker at all - perhaps we should simply
remove Shape.light, it'd take one second... !

On Thu, Jan 3, 2013 at 6:52 AM, paddywwoof [email protected] wrote:

it gets slotted into the unif array so that all the information required
by the shaders can get passed with one call of glUniform3fv() I will make a
set_light method to go in Shape. I will give it a light number defaulting
to 0 to we can use it to set other lights if (when) we get round to adding
the functionality to the shaders


Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-11841375.

 /t

http://radio.swirly.com - art music radio 24/7 366/1000

from pi3d.

paddywwoof avatar paddywwoof commented on August 26, 2024

didn't spot it with quick scan through. Taken it out and put in method

from pi3d.

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.