Skip to content

Commit cbcf448

Browse files
committed
Merge branch 'Dev'
2 parents 62ee81c + d079d75 commit cbcf448

File tree

9 files changed

+657
-63
lines changed

9 files changed

+657
-63
lines changed

iOS_Tips/.DS_Store

0 Bytes
Binary file not shown.

iOS_Tips/DarkMode.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
7851CB372331CC87002295B5 /* SLDarkModeViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 7851CB352331CC87002295B5 /* SLDarkModeViewController.xib */; };
2525
7851CB43233222E2002295B5 /* UIView+SLFrame.m in Sources */ = {isa = PBXBuildFile; fileRef = 7851CB41233222E2002295B5 /* UIView+SLFrame.m */; };
2626
7857977823725C21004CD664 /* SLFaceDetectController.m in Sources */ = {isa = PBXBuildFile; fileRef = 7857977723725C21004CD664 /* SLFaceDetectController.m */; };
27+
7860D78E2398D34E008C53EC /* SLMixColorTextureVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 7860D78D2398D34E008C53EC /* SLMixColorTextureVC.m */; };
2728
786147F12362A39500C5424C /* Resources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 786147F02362A39500C5424C /* Resources.bundle */; };
2829
786147F42362D79000C5424C /* SLMosaicView.m in Sources */ = {isa = PBXBuildFile; fileRef = 786147F32362D79000C5424C /* SLMosaicView.m */; };
2930
786147FA23630C4D00C5424C /* UIImage+SLCommon.m in Sources */ = {isa = PBXBuildFile; fileRef = 786147F923630C4D00C5424C /* UIImage+SLCommon.m */; };
@@ -112,6 +113,8 @@
112113
7851CB42233222E2002295B5 /* UIView+SLFrame.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+SLFrame.h"; sourceTree = "<group>"; };
113114
7857977623725C21004CD664 /* SLFaceDetectController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SLFaceDetectController.h; sourceTree = "<group>"; };
114115
7857977723725C21004CD664 /* SLFaceDetectController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SLFaceDetectController.m; sourceTree = "<group>"; };
116+
7860D78C2398D34E008C53EC /* SLMixColorTextureVC.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SLMixColorTextureVC.h; sourceTree = "<group>"; };
117+
7860D78D2398D34E008C53EC /* SLMixColorTextureVC.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SLMixColorTextureVC.m; sourceTree = "<group>"; };
115118
786147F02362A39500C5424C /* Resources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Resources.bundle; sourceTree = "<group>"; };
116119
786147F22362D78F00C5424C /* SLMosaicView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SLMosaicView.h; sourceTree = "<group>"; };
117120
786147F32362D79000C5424C /* SLMosaicView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SLMosaicView.m; sourceTree = "<group>"; };
@@ -298,6 +301,8 @@
298301
783FB45B2394A4E10039AEFD /* SLShaderLanguageViewController.m */,
299302
78A35B1A23978A5D004BCCB7 /* SLShaderCubeViewController.h */,
300303
78A35B1B23978A5D004BCCB7 /* SLShaderCubeViewController.m */,
304+
7860D78C2398D34E008C53EC /* SLMixColorTextureVC.h */,
305+
7860D78D2398D34E008C53EC /* SLMixColorTextureVC.m */,
301306
);
302307
path = Controller;
303308
sourceTree = "<group>";
@@ -779,6 +784,7 @@
779784
78777CE6238FF65C006FA671 /* SLDelayPerform.m in Sources */,
780785
78DAA1162360256200A60F64 /* SLEditSelectedBox.m in Sources */,
781786
7830A59E2358520200BC79BA /* SLEditTextView.m in Sources */,
787+
7860D78E2398D34E008C53EC /* SLMixColorTextureVC.m in Sources */,
782788
78E179312351A4020007E4BB /* SLShotViewController.m in Sources */,
783789
);
784790
runOnlyForDeploymentPostprocessing = 0;

iOS_Tips/DarkMode/OpenGL/Controller/SLCubeViewController.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ - (void)commonInit {
106106
self.baseEffect = [[GLKBaseEffect alloc] init];
107107
self.baseEffect.texture2d0.name = textureInfo.name;
108108
self.baseEffect.texture2d0.target = textureInfo.target;
109-
110109
}
111110

112111
#pragma mark - 2. 初始化顶点和纹理坐标
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//
2+
// SLMixColorTextureVC.h
3+
// DarkMode
4+
//
5+
// Created by wsl on 2019/12/5.
6+
// Copyright © 2019 https://github.com/wsl2ls ----- . All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
NS_ASSUME_NONNULL_BEGIN
12+
13+
/// GLSL 颜色和纹理混合 三角锥体
14+
@interface SLMixColorTextureVC : UIViewController
15+
16+
@end
17+
18+
NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)