-
Notifications
You must be signed in to change notification settings - Fork 238
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
Create 3DMath.js #779
Create 3DMath.js #779
Conversation
Got bored waiting for pen+ and sensing+ to be pulled. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as spam.
This comment was marked as spam.
could you send me the project? |
Fixed
…On Wed, Jul 26, 2023, 4:02 PM NexusKitten ***@***.***> wrote:
[image: image]
<https://user-images.githubusercontent.com/127152751/256350800-054a8117-aec0-4c78-be97-bead020bb48d.png>
is the variable being this long intentional?
for reference, all I did was set the variable to the camera position.
—
Reply to this email directly, view it on GitHub
<#779 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASKLQSICKGVHV4TOPOEYRBDXSFZWNANCNFSM6AAAAAA2X5ZVVM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Also please don't forget pen+ v6 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Yeah
…On Fri, Jul 28, 2023, 7:19 AM BlueDome ***@***.***> wrote:
ROFL! This user failed eslint AGAIN! [image: image]
<https://user-images.githubusercontent.com/127152751/256126059-c51b9125-acf5-46a0-9207-f983c74eb492.png>
This is on topic
Are you ok lol
—
Reply to this email directly, view it on GitHub
<#779 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASKLQSJBNXSPYHGJWFGDHBTXSON5DANCNFSM6AAAAAA2X5ZVVM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
}, | ||
}, | ||
{ | ||
opcode: "__NOUSEOPCODE", |
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.
dont put the opcode at all for LABELs
}, | ||
{ | ||
disableMonitor: true, | ||
opcode: "dotProductOfV3", |
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.
should be dotProductOfV2?
} | ||
getAxisOfV3({ axis, vector }) { | ||
axis = Scratch.Cast.toNumber(axis); | ||
vector = JSON.parse(vector); |
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.
you need to handle JSON.parse errors everywhere
easiest might be to make a JSON.parse wrapper that returns null
if there's an error instead of throwing it so then you can just do if (!vector1 || !vector2) { return null; }
everywhere
What happened here? |
This comment was marked as spam.
This comment was marked as spam.
The extension received a second review that was never acted upon for 2 months |
I've updated it to use some features exclusively available on penguinmod so its no longer possible to be on turbowarp and hence I never updated this version. |
Adds an assortment of blocks for people who want to make sprite 3d games or do some 3d math.