fixed tri shape

This commit is contained in:
Jade (Rose) Rowland 2024-05-09 00:21:21 -04:00
parent 16472b59dd
commit 6c05a4eb7b
4 changed files with 46 additions and 14 deletions

View file

@ -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`);