Comments (2)
System.Numerics.Matrix4x4 is row-major, although DataReader/DataWriter reads/writes the matrix as a colum-major one by reading the floats 1 by 1. In ReadArray/WriteArray this will break because the MemoryMarshal will follow the System.Numerics.Matrix4x4 struct layout instead.
Furthermore in dev/performance branch it also breaks reading single matrices.
A temporary solution, to have at least coherent reading/writing of matrices everywhere, could be restoring the using of RAGE_Matrix4x4 wrapper which stores the values as generic four Vector4.
from rage-toolkit.
Fixed in be46051
from rage-toolkit.
Related Issues (20)
- Fix embedded txd data pointers HOT 1
- Fix ResourceDataReader block pool
- ResourceSimpleList/SimpleList: write correct capacity value
- Consider replacing DirectXTex dependency
- [Feature] Design an intermediate file format
- Handle weird arrays followed by lists
- DataReader/DataWriter handle endianess of unmanaged structs which are not built-in C# types HOT 1
- dev/joaat: Inject JenkinsDictionary to DataReader
- Consider replacing List blocks with value types HOT 2
- Rework Meta wrappers and MetaTool HOT 1
- Refactor ResourceSimpleArray
- Fix PgDictionary entries sorting
- Metastructures update planned? HOT 1
- Refactor Code
- RageArchiveBinaryFile7: Define Import policy
- Either Importing/Exporting ytd not working correctly? HOT 3
- DirectXTex Library has a memory leak
- ResourceSystemBlock: Implement Rebuild HOT 1
- ResourceHelpers.GetBlocks: try to reduce allocations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rage-toolkit.