Fix bugs with polygons
This commit is contained in:
parent
c110f110d2
commit
fbd85a667e
3 changed files with 11 additions and 10 deletions
|
|
@ -70,7 +70,7 @@ export class UniformArrayAutoScalingProgram implements IProgram {
|
|||
|
||||
public draw(uniforms: { [name: string]: any }): void {
|
||||
const values = this.descriptors.map((d) => {
|
||||
const uniformNames = last(Object.entries(d.propertyUniformMapping));
|
||||
const uniformNames = Object.entries(d.propertyUniformMapping)[0];
|
||||
if (!uniformNames) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue