Created
January 9, 2024 16:57
-
-
Save an01f01/81f23a89443503451713a4adfcce1d6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tmpsp: TPoint3D := TPoint3D.Zero; | |
// Obtain the screen coordinate by using the WorldToScreen method | |
tmpsp := self.Context.WorldToScreen(TProjection.Camera, Layer3D1.Position.Point); | |
writeln('2D Position: ' + tmpsp.X.ToString + ', ' + tmpsp.Y.ToString); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment