bjornbytes / lovr-docs

Documentation for LÖVR
45 stars 34 forks source link

ShaderBlock documentation issues #17

Closed porglezomp closed 4 years ago

porglezomp commented 4 years ago

The ShaderBlock:send notes mention passing tables of numbers, but the method signatures only suggest allowing Blobs:

For scalar or vector types, use tables of numbers or vec3s for each vector.

The signature of lovr.graphics.newShaderBlock doesn't describe the first argument, and it isn't demonstrated on that page, but it is shown on the ShaderBlock main page example.

bjornbytes commented 4 years ago

Fixed these two issues and added the missing readable flag.