16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 15:59:18 +02:00

manual tweaks/overrides in skydome colour model

This commit is contained in:
tmj-fstate
2017-02-26 16:44:42 +01:00
parent a194f3077c
commit 0752024d47
4 changed files with 36 additions and 13 deletions

View File

@@ -79,6 +79,11 @@ inline float DotProduct( float3 const &v1, float3 const &v2 ) {
return v1.x * v2.x + v1.y * v2.y + v1.z * v2.z;
}
inline float3 Interpolate( float3 const &First, float3 const &Second, float const Factor ) {
return ( First * ( 1.0f - Factor ) ) + ( Second * Factor );
}
class float4
{ // kwaternion obrotu
public: