Search found 2 matches

by Joey
Thu Mar 22, 2007 3:13 am
Forum: Open Discussion and Dev Announcements
Topic: terrain grid deformation
Replies: 0
Views: 706

terrain grid deformation

Hi,

1. what ive got is a scenenode wich holds a grid (x by y) tiles/rects with same size and different textures(coordinates). now i want to add a little 3d - hills and rivers. since the grid tiles are very large deforming the height of some tiles may really look ugly. so what to do? increase the ...
by Joey
Thu Mar 22, 2007 2:33 am
Forum: Code Snippets
Topic: (C++) RTSCamera
Replies: 39
Views: 35053

a small typo:

void RTSCamera::allKeysUp()
{
for(int i = 0;i < KEY_KEY_CODES_COUNT;i++)
Keys[KEY_KEY_CODES_COUNT] = false;
}

change " Keys[KEY_KEY_CODES_COUNT] = false;" -> "Keys=false"

i use it and i like it with some small customizations, good work