mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-27 07:26:33 +01:00
10 lines
260 B
Text
10 lines
260 B
Text
|
/// fd_x(instance id, x)
|
||
|
function fd_x(argument0, argument1) {
|
||
|
// Returns the x coordinate on the fluid dynamics surface.
|
||
|
|
||
|
return ((argument1 - __view_get( e__VW.XView, argument0.fd_view_number )) / argument0.fd_wratio) + argument0.fd_edge_buffer_size;
|
||
|
|
||
|
|
||
|
|
||
|
}
|