-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing artoolkitNFT as a global variable (part 2) #283
Changes from 1 commit
86158e2
62fab44
34633bf
f922f99
0230423
7058fee
38882a1
c5b1ae0
1864c08
354fc70
70b67a0
6cc14f7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -918,7 +918,7 @@ export default class ARControllerNFT implements AbstractARControllerNFT { | |
q += 4; | ||
} | ||
} else if (this.grayscaleEnabled == true) { | ||
this.videoLuma.set(this.grayscaleSource); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as bove. |
||
this.videoLuma = this.grayscaleSource; | ||
} | ||
} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ | |
* | ||
*/ | ||
import ARToolkitNFT from "./ARToolkitNFT_simd"; | ||
import ARControllerNFT from "./ARControllerNFT"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i was exporting the wrong lib here! it wasn't using simd at all... |
||
import ARControllerNFT from "./ARControllerNFT_simd"; | ||
|
||
export default { | ||
ARToolkitNFT, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import ARToolkitNFT from "./ARToolkitNFT_simd"; | ||
import ARControllerNFT from "./ARControllerNFT"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above. |
||
import ARControllerNFT from "./ARControllerNFT_simd"; | ||
declare const _default: { | ||
ARToolkitNFT: typeof ARToolkitNFT; | ||
ARControllerNFT: typeof ARControllerNFT; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i can't understand why this will make fail, with an out bounds error. I will investigate.