Nodes: new interactive operator to slide nodes #121981
@ -26,10 +26,11 @@ void orthographic_sync(int tilemap_id,
|
||||
object_to_world.x.w = 0.0;
|
||||
object_to_world.y.w = 0.0;
|
||||
object_to_world.z.w = 0.0;
|
||||
|
||||
int clip_index = tilemaps_buf[tilemap_id].clip_data_index;
|
||||
/* Avoid qualifier problems on NVidia (see #121968). */
|
||||
Transform object_to_world_history = tilemaps_clip_buf[clip_index].object_to_world;
|
||||
|
||||
int clip_index = tilemaps_buf[tilemap_id].clip_data_index;
|
||||
if (tilemaps_buf[tilemap_id].is_dirty ||
|
||||
!transform_equal(object_to_world_history, object_to_world))
|
||||
{
|
||||
@ -200,10 +201,10 @@ void cubeface_sync(int tilemap_id,
|
||||
object_to_world.x.w = world_jitter_offset.x;
|
||||
object_to_world.y.w = world_jitter_offset.y;
|
||||
object_to_world.z.w = world_jitter_offset.z;
|
||||
/* Avoid qualifier problems on NVidia (see #121968). */
|
||||
Transform object_to_world_history = tilemaps_clip_buf[clip_index].object_to_world;
|
||||
|
||||
int clip_index = tilemaps_buf[tilemap_id].clip_data_index;
|
||||
/* Avoid qualifier problems on NVidia (see #121968). */
|
||||
Transform object_to_world_history = tilemaps_clip_buf[clip_index].object_to_world;
|
||||
if (tilemaps_buf[tilemap_id].is_dirty ||
|
||||
!transform_equal(object_to_world_history, object_to_world))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user