Changeset 651 for trunk/test


Ignore:
Timestamp:
Feb 16, 2011, 7:04:05 PM (10 years ago)
Author:
sam
Message:

Make the float4x4 constructor fill only the matrix's diagonal. Thus
the float4x4::identity() method is no longer necessary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/matrix.cpp

    r648 r651  
    3333    void setUp()
    3434    {
    35         identity = float4x4::identity();
     35        identity = float4x4(1.0f);
    3636        triangular = float4x4(float4(1.0f, 0.0f, 0.0f, 0.0f),
    3737                              float4(7.0f, 2.0f, 0.0f, 0.0f),
Note: See TracChangeset for help on using the changeset viewer.