Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions isgl3d/core/Isgl3dDirector.m
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ - (void)stopAnimation {
}

- (void)run {
[self onResizeFromLayer];
[self startAnimation];
}

Expand Down
2 changes: 1 addition & 1 deletion isgl3d/primitives/Isgl3dPrimitiveFactory.m
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ - (Isgl3dGLMesh *) UILabelMeshWithWidth:(unsigned int)width height:(unsigned int
float uMax = contentSize.width / width;
float vMax = contentSize.height / height;

Isgl3dGLMesh * labelMesh = [Isgl3dPlane meshWithGeometryAndUVMap:contentSize.width height:contentSize.height nx:2 ny:2 uvMap:[Isgl3dUVMap uvMapWithUA:0 vA:0 uB:uMax vB:0 uC:0 vC:vMax]];
Isgl3dGLMesh * labelMesh = [Isgl3dPlane meshWithGeometryAndUVMap:contentSize.width * [Isgl3dDirector sharedInstance].contentScaleFactor height:contentSize.height * [Isgl3dDirector sharedInstance].contentScaleFactor nx:2 ny:2 uvMap:[Isgl3dUVMap uvMapWithUA:0 vA:0 uB:uMax vB:0 uC:0 vC:vMax]];
// GLMesh * labelMesh = [[Plane alloc] initWithGeometryAndUVMap:width height:height nx:2 ny:2 uvMap:[UVMap uvMapWithUA:0 vA:0 uB:0.5 vB:0 uC:0 vC:0.5]];
return labelMesh;
}
Expand Down