regl icon indicating copy to clipboard operation
regl copied to clipboard

http://regl.party/API code example error

Open Javingka opened this issue 8 years ago • 2 comments

I'm not sure if this is the place to publish the issue, but I didn't find a better place.

It seems there is an error at http://regl.party/api#inputs code example:

    angle: function (context, props, batchId) {
      return args.speed * context.tick + 0.01 * batchId
    },

The code is using args instead of props, the return statement should be:

      return props.speed * context.tick + 0.01 * batchId

Javingka avatar Aug 30 '17 19:08 Javingka

I believe that this was addressed in PR https://github.com/regl-project/regl/pull/357 but it hasn't been deployed.

arscan avatar Aug 30 '17 20:08 arscan

I'm tracking website deployment here: #445

gregtatum avatar Dec 29 '17 21:12 gregtatum