Skip to content

UniformMatrix4fv (and other *v functions) have vararg parameters #5

@dertseha

Description

@dertseha

The matrix parameters of the *v functions are parameter lists, both according to OpenGL ES 2 and the WebGL specification. The current signature of the wrapper specifies only one slice.

Is there a specific reason that they only take one parameter?

In my code to wrap WebGL behind an OpenGL ES 2 interface I'm calling the JS function directly, as seen here.

Additionally: Should the signature be changed, may I suggest to have array types as parameters instead of slices? go-gl does that for instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions