Skip to content

Commit

Permalink
Version 0.10.5 Release [Bugfix]
Browse files Browse the repository at this point in the history
Bugfix release
  • Loading branch information
Dreaming381 committed Jul 28, 2024
1 parent 6cf30a4 commit e7ec4ce
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ You can find changelogs for the individual modules in the [official Latios
Framework Documentation
repository](https://github.com/Dreaming381/Latios-Framework-Documentation).

## [0.10.5] – 2024-7-28

Officially supports Entities [1.2.1][1.2.3]

### Changed

- Updated Kinemation to v0.10.5

## [0.10.4] – 2024-7-20

Officially supports Entities [1.2.1][1.2.3]
Expand Down
8 changes: 4 additions & 4 deletions Kinemation/Authoring/BakingSystems/RendererBakingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,9 @@ public class LightMapReference
private int m_numLightMappedMaterialCacheHits;
private int m_numLightMappedMaterialCacheMisses;

private Dictionary<LightMapKey, LightMapReference> m_lightMapArrayCache = new Dictionary<LightMapKey, LightMapReference>();
private Dictionary<MaterialLookupKey, UnityObjectRef<Material> > m_lightMappedMaterialCache = new ();
private Dictionary<int, LightMapReference> m_lightMapReferences = new Dictionary<int, LightMapReference>();
private Dictionary<LightMapKey, LightMapReference> m_lightMapArrayCache = new Dictionary<LightMapKey, LightMapReference>();
private Dictionary<MaterialLookupKey, Material> m_lightMappedMaterialCache = new ();
private Dictionary<int, LightMapReference> m_lightMapReferences = new Dictionary<int, LightMapReference>();

public LightMapBakingContext()
{
Expand Down Expand Up @@ -532,7 +532,7 @@ public Material GetLightMappedMaterial(UnityObjectRef<Material> baseMaterial, Li
}
}

private static UnityObjectRef<Material> CreateLightMappedMaterial(UnityObjectRef<Material> material, LightMaps lightMaps)
private static Material CreateLightMappedMaterial(UnityObjectRef<Material> material, LightMaps lightMaps)
{
var lightMappedMaterial = new Material(material);
lightMappedMaterial.name = $"{lightMappedMaterial.name}_Lightmapped_";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,19 +199,11 @@ public unsafe void Execute(in ArchetypeChunk chunk, int unfilteredChunkIndex, bo

if (chunkIn == FrustumPlanes.IntersectResult.Partial)
{
var inMask = mask.lower.Value;
for (int i = math.tzcnt(inMask); i < 64; inMask ^= 1ul << i, i = math.tzcnt(inMask))
for (int i = 0; i < chunk.Count; i++)
{
bool isIn = FrustumPlanes.Intersect2NoPartial(combinedSplitPlanes, worldBounds[i].bounds) != FrustumPlanes.IntersectResult.Out;
splitMasks.splitMasks[i] |= (byte)math.select(0u, splitMask, isIn);
}
inMask = mask.upper.Value;
for (int i = math.tzcnt(inMask); i < 64; inMask ^= 1ul << i, i = math.tzcnt(inMask))
{
bool isIn =
FrustumPlanes.Intersect2NoPartial(combinedSplitPlanes, worldBounds[i + 64].bounds) != FrustumPlanes.IntersectResult.Out;
splitMasks.splitMasks[i + 64] |= (byte)math.select(0u, splitMask, isIn);
}
}
else if (chunkIn == FrustumPlanes.IntersectResult.In)
{
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![](https://github.com/Dreaming381/Latios-Framework-Documentation/blob/554a583e217bfe5bf38ece0ed65b22c33711afc6/media/bf2cb606139bb3ca01fe1c4c9f92cdf7.png)

# Latios Framework for Unity ECS – [0.10.4]
# Latios Framework for Unity ECS – [0.10.5]

The Latios Framework is a powerful suite of high-performance low-level APIs and
feature-sets for Unity’s ECS which aims to give you back control over your
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.latios.latiosframework",
"displayName": "Latios Framework for ECS",
"version": "0.10.4",
"version": "0.10.5",
"unity": "2022.3",
"description": "Latios Framework for ECS is a collection of tools, algorithms, and API extensions developed by a hardcore hobbyist game developer.\n\nThis package includes all of the following modules:\n\u25aa Core\n\u25aa QVVS Transforms\n\u25aa Psyshock Physics\n\u25aa Myri Audio\n\u25aa Kinemation Animation and Rendering\n\u25aa Caligraphics\n\u25aa Mimic\n\nExamples: \n\u25aa Latios Space Shooter Sample - https://github.com/Dreaming381/lsss-wip \n\u25aa Mini Demos - https://github.com/Dreaming381/LatiosFrameworkMiniDemos \n\u25aa Free Parking - https://github.com/Dreaming381/Free-Parking",
"documentationURL": "https://github.com/Dreaming381/Latios-Framework-Documentation",
Expand Down

0 comments on commit e7ec4ce

Please sign in to comment.