Jump to content

Dot products coming out all wrong


noc2

Recommended Posts

Hi;

I've run into a strange problem. I'm trying to get the dot-product of vectors between a geo's points and it's neighboring points 0 and 1. In the screen-shot you can see my vex code. I checked and double-checked and the code seems quite ok to me, yet the dot-product I'm getting is completely off although the edge directions are all straight. The direction vectors between the points and their neighbors look way off. I really don't know why this is happening, any help would be greatly appreciated.

Cheers;

AJ

image.thumb.png.730bcee6ff881e27cd7d4fdefebcca00.png  

CORNERS_DOTP.hip

Edited by noc2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...