This file contains hidden or 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
| function draw_pos_fixed(surface, top_left_x, top_left_y, top_right_x, top_right_y, bottom_right_x, bottom_right_y, bottom_left_x, bottom_left_y, colour, alpha) { | |
| var cx, cy, s, t, q, v_buffer; | |
| var texture = surface_get_texture(surface); | |
| var uvs = texture_get_uvs(texture); | |
| var ax = top_right_x - bottom_left_x; | |
| var ay = top_right_y - bottom_left_y; | |
| var bx = top_left_x - bottom_right_x; |