regl-project / regl

👑 Functional WebGL
MIT License
5.19k stars 320 forks source link

Few documentation issues #376

Open nsf opened 7 years ago

nsf commented 7 years ago
  1. "this" link is broken on http://regl.party/api. It leads to #this, but generated id is -this-.
  2. There is a snippet which mentions eye: regl.props('eye'), it's incorrect, it should mention regl.prop.
nsf commented 7 years ago
  1. wrapS and wrapT modes are said to be 'repeat' by default, but it's 'clamp' for me.

E.g. checker texture:

  m.texture = regl.texture({
    width: 32,
    height: 32,
    data: m.textureBuffer,
  });

Ends up looking like this: texture