In the beginning there was void TLN_SetLayerAffineTransform() that received a TLN_Affine struct. But then I added the TLN_SetLayerTransform() function that receives the same parameters individually, not packed in a struct. And when I created the C# binding, I ignored the original function and only wrapped the newer, that doesn't use the TLN_Affine struct, that is the Layer::SetTransform() method. Look at line 1000 of https://github.com/megamarc/Tilengine/bl...lengine.cs. So in short this is a redundant struct that is not really needed in the original C API.
Missing "Affine" binding for C Sharp?
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
Missing "Affine" binding for C Sharp? - by Domarius - 07-16-2018, 03:13 PM
RE: Missing "Affine" binding for C Sharp? - by megamarc - 07-16-2018, 09:33 PM
|
Users browsing this thread: 1 Guest(s)