createProgramFromScripts is not defined问题解决方案
你应当先引用一个js库:webgl-utils.js
git源码:http://greggman.github.io/webgl-fundamentals/webgl/resources/webgl-utils.js
这个网址你可能打不开,所以我贴出了源码
/*
* Copyright 2012, Gregg Tavares.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with
转载
2020-08-25 09:19:12 ·
1959 阅读 ·
0 评论