Skip to content

Conversation

@kalwalt
Copy link
Member

@kalwalt kalwalt commented Apr 26, 2020

This PR add the feature Position: in the addNFTMarker method retrieve the id, dpi, width, height of the marker, so are available for calculate the 3D obj onto the NFT marker with this calculation:

obj.position.y = (msg.height / msg.dpi * 2.54 * 10)/2.0;
obj.position.x = (msg.width / msg.dpi * 2.54 * 10)/2.0;

linked PR kalwalt/jsartoolkit5#42

@kalwalt kalwalt merged commit da477b6 into dev Apr 26, 2020
@kalwalt kalwalt deleted the feature-position-v3 branch October 25, 2021 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant