2021-06-28 18:44:09 -07:00
|
|
|
draw_set_alpha(1)
|
|
|
|
d3d_set_lighting(false)
|
2021-07-07 23:43:05 -07:00
|
|
|
var tex = sprite_get_texture(spr_barrier,0)
|
2021-06-28 18:44:09 -07:00
|
|
|
d3d_transform_set_identity()
|
|
|
|
d3d_transform_add_rotation_y(90)
|
|
|
|
d3d_transform_add_rotation_z(direction)
|
|
|
|
d3d_transform_add_translation(x,y,z)
|
|
|
|
d3d_draw_cylinder(-2,-2,-8,2,2,8,tex,1,1,true,3)
|
|
|
|
d3d_transform_set_identity()
|
|
|
|
draw_set_alpha(1)
|
|
|
|
d3d_set_lighting(true)
|
2021-07-07 23:43:05 -07:00
|
|
|
|