mirror of
https://github.com/aap/librw.git
synced 2025-02-16 17:26:18 +00:00
fix scoping issue
This commit is contained in:
parent
30b77b0b32
commit
edc77742c5
@ -256,7 +256,7 @@ void
|
|||||||
im3DTransform(void *vertices, int32 numVertices, Matrix *world, uint32 flags)
|
im3DTransform(void *vertices, int32 numVertices, Matrix *world, uint32 flags)
|
||||||
{
|
{
|
||||||
if(world == nil){
|
if(world == nil){
|
||||||
Matrix ident;
|
static Matrix ident;
|
||||||
ident.setIdentity();
|
ident.setIdentity();
|
||||||
world = &ident;
|
world = &ident;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user