summaryrefslogtreecommitdiff
path: root/src/mesh/assimp-master/samples/SimpleAssimpViewX/ModelLoaderHelperClasses.mm
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-04-16 11:55:54 -0500
committersanine <sanine.not@pm.me>2022-04-16 11:55:54 -0500
commit8fb7916a0d0cb007a4c3a4e6a31af58765268ca3 (patch)
tree52b5524a94a5b04e17a1fd7f8aca988ab6d0c75f /src/mesh/assimp-master/samples/SimpleAssimpViewX/ModelLoaderHelperClasses.mm
parentdb81b925d776103326128bf629cbdda576a223e7 (diff)
delete src/mesh/assimp-master
Diffstat (limited to 'src/mesh/assimp-master/samples/SimpleAssimpViewX/ModelLoaderHelperClasses.mm')
-rw-r--r--src/mesh/assimp-master/samples/SimpleAssimpViewX/ModelLoaderHelperClasses.mm99
1 files changed, 0 insertions, 99 deletions
diff --git a/src/mesh/assimp-master/samples/SimpleAssimpViewX/ModelLoaderHelperClasses.mm b/src/mesh/assimp-master/samples/SimpleAssimpViewX/ModelLoaderHelperClasses.mm
deleted file mode 100644
index 9dab7f8..0000000
--- a/src/mesh/assimp-master/samples/SimpleAssimpViewX/ModelLoaderHelperClasses.mm
+++ /dev/null
@@ -1,99 +0,0 @@
-//
-// v002MeshHelper.m
-// v002 Model Importer
-//
-// Created by vade on 9/26/10.
-// Copyright 2010 __MyCompanyName__. All rights reserved.
-//
-
-#import "ModelLoaderHelperClasses.h"
-
-
-@implementation MeshHelper
-
-@synthesize vao;
-@synthesize displayList;
-
-@synthesize vertexBuffer;
-@synthesize indexBuffer;
-@synthesize normalBuffer;
-@synthesize numIndices;
-
-@synthesize textureID;
-
-@dynamic diffuseColor;
-@dynamic specularColor;
-@dynamic ambientColor;
-@dynamic emissiveColor;
-
-@synthesize opacity;
-@synthesize shininess;
-@synthesize specularStrength;
-@synthesize twoSided;
-
-- (id) init
-{
- if((self = [super init]))
- {
- diffuseColor = aiColor4D(0.8, 0.8, 0.8, 1.0);
- specularColor = aiColor4D(0.0f, 0.0f, 0.0f, 1.0f);
- ambientColor = aiColor4D(0.2f, 0.2f, 0.2f, 1.0f);
- emissiveColor = aiColor4D(0.0f, 0.0f, 0.0f, 1.0f);
- }
- return self;
-}
-
-- (void) setDiffuseColor:(aiColor4D*) color;
-{
- diffuseColor.r = color->r;
- diffuseColor.g = color->g;
- diffuseColor.b = color->b;
- diffuseColor.a = color->a;
-}
-
-- (aiColor4D*) diffuseColor
-{
- return &diffuseColor;
-}
-
-- (void) setSpecularColor:(aiColor4D*) color;
-{
- specularColor.r = color->r;
- specularColor.g = color->g;
- specularColor.b = color->b;
- specularColor.a = color->a;
-}
-
-- (aiColor4D*) specularColor
-{
- return &specularColor;
-}
-
-- (void) setAmbientColor:(aiColor4D*) color;
-{
- ambientColor.r = color->r;
- ambientColor.g = color->g;
- ambientColor.b = color->b;
- ambientColor.a = color->a;
-}
-
-- (aiColor4D*) ambientColor
-{
- return &ambientColor;
-}
-
-- (void) setEmissiveColor:(aiColor4D*) color;
-{
- emissiveColor.r = color->r;
- emissiveColor.g = color->g;
- emissiveColor.b = color->b;
- emissiveColor.a = color->a;
-}
-
-- (aiColor4D*) emissiveColor
-{
- return &emissiveColor;
-}
-
-
-@end