GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
move3d_model(3) Arcan Lua API move3d_model(3)

move3d_model - Set new world-space coordinates for the specified model.

nil
move3d_model( vid:model, float:x, float:y, float:z )
move3d_model( vid:model, float:x, float:y, float:z, uint:time=0 )
move3d_model( vid:model, float:x, float:y, float:z, uint:time, uint:interp=INTERP_LINEAR )

The move3d, rotate3d, scale3d etc. class functions are similar to their 2D counterparts, but takes an additional z coordinate. While these functions are intended for 3D objects, it is possible to apply on 2D objects as well, but with possible side-effects to picking and similar operations.

function move3d_model0()
      a = fill_surface(64, 64, 255, 0, 0);
      move3d_model(a, 100, 100, -5, 100);
      show_image(a);
end

move3d_model(3) rotate3d_model(3) scale3d_model(3)

June 2022 3d

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.