this work good with flexj0.7 public function setProgramConstantsFromVectorGL(name:String, data:Vector.<Number>, numRegisters:int = -1):void { gl.uniform4fv(getUniformLocation(name), data); }
从类型 Vector.<Number> 的值到不相关类型 Object 之间的隐式强制转换。 gl.uniformMatrix4fv(getUniformLocation(name), false, matrix.rawData); -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262.html Sent from the Apache Flex Development mailing list archive at Nabble.com.