fixed tri shape
This commit is contained in:
parent
16472b59dd
commit
6c05a4eb7b
4 changed files with 46 additions and 14 deletions
|
|
@ -34,13 +34,16 @@ export class Cyclist {
|
|||
|
||||
try {
|
||||
const begin = this.lastEnd;
|
||||
const cycle = this.now();
|
||||
|
||||
this.lastBegin = begin;
|
||||
const end = this.num_cycles_at_cps_change + num_cycles_since_cps_change;
|
||||
|
||||
this.lastEnd = end;
|
||||
|
||||
this.lastTick = phase;
|
||||
|
||||
const cycle = this.now();
|
||||
|
||||
if (phase < t) {
|
||||
// avoid querying haps that are in the past anyway
|
||||
console.log(`skip query: too late`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue