Three.js: SpriteCanvasMaterial removed?

Created on 14 Oct 2015  路  6Comments  路  Source: mrdoob/three.js

SpriteCanvasMaterial is described the docs, but its not available in r72? I didn't find it in master or dev src.

http://threejs.org/docs/#Reference/Materials/SpriteCanvasMaterial

Maybe doc needs an update if it was removed. ;)
(Seems it was mentioned in r70 in the change log at last...doesn't say it was removed: https://github.com/mrdoob/three.js/releases)

All 6 comments

Should be inside examples/js/renderers/CanvasRenderer.js.

Thank you, it is there. Now I see the purpose of SpriteCanvasMaterial is different than I expected. (Source link in docs maybe updated)

Source link in docs maybe updated

Feel free! 馃槉

I would like to contribute (, but if the file is edited direclty on github -> preview changes will profess that every single line will be removed and added in the html file - even if I don't change anything. Looks like whitespace problem, but there are no whitespace changes!? So a commit would be useless for the maintainer. If I find some time, I will test, if I can do it on Windows with SourceTree...)

I would like to contribute (, but if the file is edited direclty on github -> preview changes will profess that every single line will be removed and added in the html file - even if I don't change anything. Looks like whitespace problem, but there are no whitespace changes!? So a commit would be useless for the maintainer.

Oh, don't worry about that. With ?w=1 in the PR url I can filter whitespace changes out.

Ty, I created a pull request "Moved SpriteCanvasMaterial.html to examples (docs), Fixed src link #7358"
I never done this before with Git(hub), hope it is right to commit from dev -> dev branch (maybe gh-pages branch is better for doc changes?)

BTW: If you know a way how to quick-test the html (like docs) on gh, pls let me know ;)
http://htmlpreview.github.io has problems with frames and some mime-types...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Horray picture Horray  路  3Comments

jlaquinte picture jlaquinte  路  3Comments

makc picture makc  路  3Comments

yqrashawn picture yqrashawn  路  3Comments

akshaysrin picture akshaysrin  路  3Comments