The code is quite simple, I just call a setPixels inside a change handler. This is the relevant section of the code: when transform sr changes handl…
Now I see that the only choice is to use global variables inside the change handler. But I have several splines like that and one unique ni thing for …
Well actually I misunderstood the documentation. That last parameter is a variable where the object which is being monitored for events is assigned to…
Wow thanks. That is not exactly what my code should look like because I want for that ni to be available inside the change handling function. But the …
OOH! I was trying map.width instead of map.bitmap.width…so I thought I didnt have a BitmapTexture object but a TextureMap instead but I was not access…
Cant you do something like the shadow mapping algorithm? Render from the light position (you may need more than one render, for example six to cover t…
Wow, you would only use numerical integration to compute areas of very irregular shapes. You can compute the area of a triangle simply by computing ha…
Very strange to get [size=2]0.0197823, you should get 0 since the vectors are pointing in the same direction(the angle between them is 0 ). Maybe its…
I just wanna give you two link for resources about geometry (intersections , distance computations etc): (algorithms section) Hope this helps