Back to project page jmini3d.
The source code is released under:
Copyright 2012 Mobialia http://www.mobialia.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
If you think the Android project jmini3d listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package jmini3d.light; //from w w w .j av a2 s . c o m import jmini3d.Color4; import jmini3d.Vector3; public class DirectionalLight extends Light { public Vector3 direction; public DirectionalLight(Vector3 direction, Color4 color) { this.direction = direction; this.color = color; } public DirectionalLight(Vector3 direction, Color4 color, float intensity) { this.direction = direction; this.color = color; this.color.a = intensity; } }