mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
build on windows
This commit is contained in:
parent
f2559a7217
commit
767edc78d7
@ -384,7 +384,7 @@ get_data3f(const unsigned char *pointer) {
|
||||
// We sneakily cast a float[3] array to an LVecBase3f reference,
|
||||
// making all kinds of assumptions about how an LVecBase3f is
|
||||
// stored.
|
||||
return (LVecBase3f &)(float *)pointer;
|
||||
return *(LVecBase3f *)pointer;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user