mirror of
https://github.com/thes3m/XNI
synced 2024-12-26 13:26:06 +01:00
34 lines
634 B
Objective-C
34 lines
634 B
Objective-C
//
|
|
// DirectionalLight.m
|
|
// XNI
|
|
//
|
|
// Created by Matej Jan on 21.9.10.
|
|
// Copyright 2010 Retronator. All rights reserved.
|
|
//
|
|
|
|
#import "DirectionalLight.h"
|
|
|
|
#import "Retronator.Xni.Framework.h"
|
|
|
|
@implementation DirectionalLight
|
|
|
|
- (id) init {
|
|
if (self = [super init]) {
|
|
self.enabled = NO;
|
|
self.ambientColor = [Vector3 zero];
|
|
self.diffuseColor = [Vector3 zero];
|
|
self.specularColor = [Vector3 zero];
|
|
self.direction = [Vector3 zero];
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@synthesize ambientColor;
|
|
@synthesize diffuseColor;
|
|
@synthesize direction;
|
|
@synthesize enabled;
|
|
@synthesize specularColor;
|
|
|
|
@end
|
|
|